summaryrefslogtreecommitdiffstats
path: root/parts/tools
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/tools
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/tools')
-rw-r--r--parts/tools/addtooldlg.ui32
-rw-r--r--parts/tools/addtooldlg.ui.h2
-rw-r--r--parts/tools/kapplicationtree.cpp24
-rw-r--r--parts/tools/kapplicationtree.h9
-rw-r--r--parts/tools/tools_part.cpp28
-rw-r--r--parts/tools/tools_part.h3
-rw-r--r--parts/tools/toolsconfig.cpp8
-rw-r--r--parts/tools/toolsconfig.h5
-rw-r--r--parts/tools/toolsconfigwidget.cpp6
-rw-r--r--parts/tools/toolsconfigwidget.h3
-rw-r--r--parts/tools/toolsconfigwidgetbase.ui60
11 files changed, 92 insertions, 88 deletions
diff --git a/parts/tools/addtooldlg.ui b/parts/tools/addtooldlg.ui
index 2ec5e8b4..e17d7f37 100644
--- a/parts/tools/addtooldlg.ui
+++ b/parts/tools/addtooldlg.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>AddToolDialog</class>
-<widget class="QDialog">
+<widget class="TQDialog">
<property name="name">
<cstring>add_tool_dialog</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>cmdlineLabel_2</cstring>
</property>
@@ -30,7 +30,7 @@
<cstring>paramEdit</cstring>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="0" rowspan="1" colspan="2">
+ <widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>capturedBox</cstring>
</property>
@@ -41,7 +41,7 @@
<string>If this is checked, the output of the application will be shown in the application output view; otherwise, all output will be ignored.</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>cmdlineLabel</cstring>
</property>
@@ -66,7 +66,7 @@
<enum>Horizontal</enum>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>menutextLabel</cstring>
</property>
@@ -102,7 +102,7 @@ executed.&lt;/p&gt;</string>
<string>The text that appears in the Tools-Menu</string>
</property>
</widget>
- <widget class="QLayoutWidget" row="6" column="0" rowspan="1" colspan="2">
+ <widget class="TQLayoutWidget" row="6" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout2</cstring>
</property>
@@ -123,14 +123,14 @@ executed.&lt;/p&gt;</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>okButton</cstring>
</property>
@@ -141,7 +141,7 @@ executed.&lt;/p&gt;</string>
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
@@ -228,15 +228,15 @@ executed.&lt;/p&gt;</string>
<include location="local" impldecl="in implementation">addtooldlg.ui.h</include>
</includes>
<forwards>
- <forward>class QListViewItem;</forward>
+ <forward>class TQListViewItem;</forward>
</forwards>
-<slots>
+<Q_SLOTS>
<slot>init()</slot>
- <slot returnType="QString">getApp()</slot>
- <slot access="private">treeSelectionChanged( QListViewItem * lvi )</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+ <slot returnType="TQString">getApp()</slot>
+ <slot access="private">treeSelectionChanged( TQListViewItem * lvi )</slot>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
+<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
diff --git a/parts/tools/addtooldlg.ui.h b/parts/tools/addtooldlg.ui.h
index 045e7809..fea69766 100644
--- a/parts/tools/addtooldlg.ui.h
+++ b/parts/tools/addtooldlg.ui.h
@@ -1,7 +1,7 @@
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
-** If you wish to add, delete or rename slots use Qt Designer which will
+** If you wish to add, delete or rename slots use TQt Designer which will
** update this file, preserving your code. Create an init() slot in place of
** a constructor, and a destroy() slot in place of a destructor.
*****************************************************************************/
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index c6517d8f..95400863 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -65,9 +65,9 @@ template class TQPtrList<TQString>;
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( KListView* parent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( KListView* tqparent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( parent, name )
+ : TQListViewItem( tqparent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -75,9 +75,9 @@ KDevAppTreeListItem::KDevAppTreeListItem( KListView* parent, const TQString & na
// ----------------------------------------------------------------------
-KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* parent, const TQString & name,
+KDevAppTreeListItem::KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name,
const TQPixmap& pixmap, bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE )
- : TQListViewItem( parent, name )
+ : TQListViewItem( tqparent, name )
{
init(pixmap, parse, dir, p, c, dE);
}
@@ -94,7 +94,7 @@ void KDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, con
exec = _exec;
dEntry = _dEntry;
exec.simplifyWhiteSpace();
- exec.truncate(exec.find(' '));
+ exec.truncate(exec.tqfind(' '));
}
@@ -104,7 +104,7 @@ void KDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, con
TQString KDevAppTreeListItem::key(int column, bool /*ascending*/) const
{
if (directory)
- return TQString::fromLatin1(" ") + text(column).upper();
+ return TQString::tqfromLatin1(" ") + text(column).upper();
else
return text(column).upper();
}
@@ -117,8 +117,8 @@ void KDevAppTreeListItem::activate()
void KDevAppTreeListItem::setOpen( bool o )
{
- if( o && !parsed ) { // fill the children before opening
- ((KDevApplicationTree *) parent())->addDesktopGroup( path, this );
+ if( o && !parsed ) { // fill the tqchildren before opening
+ ((KDevApplicationTree *) tqparent())->addDesktopGroup( path, this );
parsed = true;
}
TQListViewItem::setOpen( o );
@@ -131,13 +131,13 @@ bool KDevAppTreeListItem::isDirectory()
// ----------------------------------------------------------------------
-KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
- : KListView( parent, name ), currentitem(0)
+KDevApplicationTree::KDevApplicationTree( TQWidget *tqparent, const char* name )
+ : KListView( tqparent, name ), currentitem(0)
{
addColumn( i18n("Known Applications") );
setRootIsDecorated( true );
- addDesktopGroup( TQString::null );
+ addDesktopGroup( TQString() );
connect( this, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( slotItemHighlighted(TQListViewItem*) ) );
connect( this, TQT_SIGNAL( selectionChanged(TQListViewItem*) ), TQT_SLOT( slotSelectionChanged(TQListViewItem*) ) );
@@ -248,7 +248,7 @@ void KDevApplicationTree::slotSelectionChanged(TQListViewItem* i)
void KDevApplicationTree::resizeEvent( TQResizeEvent * e)
{
- setColumnWidth(0, width()-TQApplication::style().pixelMetric(TQStyle::PM_ScrollBarExtent));
+ setColumnWidth(0, width()-TQApplication::tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent));
KListView::resizeEvent(e);
}
diff --git a/parts/tools/kapplicationtree.h b/parts/tools/kapplicationtree.h
index ee56a20c..2e869889 100644
--- a/parts/tools/kapplicationtree.h
+++ b/parts/tools/kapplicationtree.h
@@ -36,7 +36,7 @@ class TQStringList;
/**
* @internal
*/
-class KDevAppTreeListItem : public QListViewItem
+class KDevAppTreeListItem : public TQListViewItem
{
bool parsed;
bool directory;
@@ -50,9 +50,9 @@ protected:
void init(const TQPixmap& pixmap, bool parse, bool dir, const TQString& _path, const TQString& _exec, const TQString& _dEntry);
public:
- KDevAppTreeListItem( KListView* parent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( KListView* tqparent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
- KDevAppTreeListItem( TQListViewItem* parent, const TQString & name, const TQPixmap& pixmap,
+ KDevAppTreeListItem( TQListViewItem* tqparent, const TQString & name, const TQPixmap& pixmap,
bool parse, bool dir, const TQString& p, const TQString& c, const TQString& dE );
bool isDirectory();
@@ -74,8 +74,9 @@ protected:
class KDevApplicationTree : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDevApplicationTree( TQWidget *parent, const char* name = 0 );
+ KDevApplicationTree( TQWidget *tqparent, const char* name = 0 );
/**
* Add a group of .desktop/.kdelnk entries
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index f9daca4b..ac1b9464 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -39,8 +39,8 @@ K_EXPORT_COMPONENT_FACTORY( libkdevtools, ToolsFactory( data ) )
TQMap<int, TQString> externalToolMenuEntries;
-ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin( &data, parent, name ? name : "ToolsPart")
+ToolsPart::ToolsPart(TQObject *tqparent, const char *name, const TQStringList &)
+ : KDevPlugin( &data, tqparent, name ? name : "ToolsPart")
{
setInstance(ToolsFactory::instance());
@@ -57,7 +57,7 @@ ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- // Apparently action lists can only be plugged after the
+ // Aptqparently action lists can only be plugged after the
// xmlgui client has been registered
TQTimer::singleShot(0, this, TQT_SLOT(updateToolsMenu()));
}
@@ -113,7 +113,7 @@ void ToolsPart::updateMenu()
void ToolsPart::slotToolActivated()
{
- TQString df = sender()->name();
+ TQString df = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
kapp->startServiceByDesktopPath(df);
}
@@ -135,21 +135,21 @@ void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
TQString word = KDevEditorUtil::currentWord( doc );
// This should really be checked before inserting into the popup
- if (cmdline.contains("%D") && projectDirectory.isNull())
+ if (cmdline.tqcontains("%D") && projectDirectory.isNull())
return;
- cmdline.replace(TQRegExp("%D"), projectDirectory);
+ cmdline.tqreplace(TQRegExp("%D"), projectDirectory);
- if (cmdline.contains("%S") && fileName.isNull())
+ if (cmdline.tqcontains("%S") && fileName.isNull())
return;
- cmdline.replace(TQRegExp("%S"), fileName);
+ cmdline.tqreplace(TQRegExp("%S"), fileName);
- if (cmdline.contains("%T") && selection.isNull())
+ if (cmdline.tqcontains("%T") && selection.isNull())
return;
- cmdline.replace(TQRegExp("%T"), selection);
+ cmdline.tqreplace(TQRegExp("%T"), selection);
- if (cmdline.contains("%W") && word.isNull())
+ if (cmdline.tqcontains("%W") && word.isNull())
return;
- cmdline.replace(TQRegExp("%W"), word);
+ cmdline.tqreplace(TQRegExp("%W"), word);
if (captured)
{
@@ -224,7 +224,7 @@ void ToolsPart::contextMenu(TQPopupMenu *popup, const Context *context)
void ToolsPart::toolsMenuActivated()
{
- TQString menutext = sender()->name();
+ TQString menutext = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name();
KConfig *config = ToolsFactory::instance()->config();
config->setGroup("Tool Menu " + menutext);
TQString cmdline = config->readPathEntry("CommandLine");
@@ -236,7 +236,7 @@ void ToolsPart::toolsMenuActivated()
if (isdesktopfile)
kapp->startServiceByDesktopPath(cmdline);
else
- startCommand(cmdline, captured, TQString::null);
+ startCommand(cmdline, captured, TQString());
}
diff --git a/parts/tools/tools_part.h b/parts/tools/tools_part.h
index 5ced9a5e..5654d1ef 100644
--- a/parts/tools/tools_part.h
+++ b/parts/tools/tools_part.h
@@ -23,10 +23,11 @@ class ToolsWidget;
class ToolsPart : public KDevPlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- ToolsPart( TQObject *parent, const char *name, const TQStringList & );
+ ToolsPart( TQObject *tqparent, const char *name, const TQStringList & );
~ToolsPart();
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index c8b4566f..915490d1 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -17,8 +17,8 @@
#include "kapplicationtree.h"
-ToolsConfig::ToolsConfig(TQWidget *parent, const char *name)
- : TQWidget(parent, name), _tree(0)
+ToolsConfig::ToolsConfig(TQWidget *tqparent, const char *name)
+ : TQWidget(tqparent, name), _tree(0)
{
_entries.setAutoDelete(true);
}
@@ -30,7 +30,7 @@ void ToolsConfig::showEvent(TQShowEvent *e)
if (!_tree)
{
- TQApplication::setOverrideCursor(Qt::waitCursor);
+ TQApplication::setOverrideCursor(TQt::waitCursor);
TQHBoxLayout *hbox = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
@@ -162,7 +162,7 @@ void ToolsConfig::updateList()
_list->insertItem(it.current()->icon, it.current()->name);
_list->setUpdatesEnabled(true);
- _list->repaint();
+ _list->tqrepaint();
}
diff --git a/parts/tools/toolsconfig.h b/parts/tools/toolsconfig.h
index 8359adff..81ae27ab 100644
--- a/parts/tools/toolsconfig.h
+++ b/parts/tools/toolsconfig.h
@@ -24,13 +24,14 @@ public:
};
-class ToolsConfig : public QWidget
+class ToolsConfig : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- ToolsConfig(TQWidget *parent = 0, const char *name = 0);
+ ToolsConfig(TQWidget *tqparent = 0, const char *name = 0);
public slots:
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index b4643b26..5020b123 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -41,8 +41,8 @@ struct ToolsConfigEntry
};
-ToolsConfigWidget::ToolsConfigWidget(TQWidget *parent, const char *name)
- : ToolsConfigWidgetBase(parent, name)
+ToolsConfigWidget::ToolsConfigWidget(TQWidget *tqparent, const char *name)
+ : ToolsConfigWidgetBase(tqparent, name)
{
m_toolsmenuEntries.setAutoDelete(true);
m_filecontextEntries.setAutoDelete(true);
@@ -125,7 +125,7 @@ void ToolsConfigWidget::fillListBox(TQListBox *lb, const TQDict<ToolsConfigEntry
bool ToolsConfigWidget::addEntry(ToolsConfigEntry *entry, TQDict<ToolsConfigEntry> *entryDict)
{
TQString menutext = entry->menutext;
- if (entryDict->find(menutext)) {
+ if (entryDict->tqfind(menutext)) {
delete entry;
KMessageBox::sorry(this, i18n("An entry with this title exists already."));
return false;
diff --git a/parts/tools/toolsconfigwidget.h b/parts/tools/toolsconfigwidget.h
index b58c9ea4..d0b468ac 100644
--- a/parts/tools/toolsconfigwidget.h
+++ b/parts/tools/toolsconfigwidget.h
@@ -23,9 +23,10 @@ struct ToolsConfigEntry;
class ToolsConfigWidget : public ToolsConfigWidgetBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ToolsConfigWidget(TQWidget *parent=0, const char *name=0);
+ ToolsConfigWidget(TQWidget *tqparent=0, const char *name=0);
~ToolsConfigWidget();
public slots:
diff --git a/parts/tools/toolsconfigwidgetbase.ui b/parts/tools/toolsconfigwidgetbase.ui
index 5b8baab0..68fbf33e 100644
--- a/parts/tools/toolsconfigwidgetbase.ui
+++ b/parts/tools/toolsconfigwidgetbase.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>ToolsConfigWidgetBase</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>tools_config_widget</cstring>
</property>
@@ -25,11 +25,11 @@
<property name="spacing">
<number>0</number>
</property>
- <widget class="QTabWidget">
+ <widget class="TQTabWidget">
<property name="name">
<cstring>tabwidget</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>toolmenuTab</cstring>
</property>
@@ -40,12 +40,12 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<property name="name">
<cstring>toolsmenuBox</cstring>
</property>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout4_3</cstring>
</property>
@@ -66,14 +66,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>toolsmenuaddButton</cstring>
</property>
@@ -84,7 +84,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>toolsmenuremoveButton</cstring>
</property>
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -124,7 +124,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -133,7 +133,7 @@
</spacer>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>filecontextTab</cstring>
</property>
@@ -144,12 +144,12 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<property name="name">
<cstring>filecontextBox</cstring>
</property>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout4_2</cstring>
</property>
@@ -170,14 +170,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>filecontextaddButton</cstring>
</property>
@@ -188,7 +188,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>filecontextremoveButton</cstring>
</property>
@@ -209,7 +209,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -228,7 +228,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -237,7 +237,7 @@
</spacer>
</grid>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>dircontextTab</cstring>
</property>
@@ -248,12 +248,12 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QListBox" row="0" column="0">
+ <widget class="TQListBox" row="0" column="0">
<property name="name">
<cstring>dircontextBox</cstring>
</property>
</widget>
- <widget class="QLayoutWidget" row="0" column="1">
+ <widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout4</cstring>
</property>
@@ -274,14 +274,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>dircontextaddButton</cstring>
</property>
@@ -292,7 +292,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>dircontextremoveButton</cstring>
</property>
@@ -313,7 +313,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -332,7 +332,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -397,14 +397,14 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<slots>
+<Q_SLOTS>
<slot access="protected">dircontextaddClicked()</slot>
<slot access="protected">filecontextaddClicked()</slot>
<slot access="protected">filecontextremoveClicked()</slot>
<slot access="protected">dircontextremoveClicked()</slot>
<slot access="protected">toolsmenuaddClicked()</slot>
<slot access="protected">toolsmenuremoveClicked()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
-<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+</Q_SLOTS>
+<tqlayoutdefaults spacing="6" margin="11"/>
+<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>