summaryrefslogtreecommitdiffstats
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/ada/adaproject_optionsdlgbase.ui4
-rw-r--r--buildtools/ada/adaproject_part.cpp20
-rw-r--r--buildtools/ada/adaprojectoptionsdlg.cpp2
-rw-r--r--buildtools/ant/antprojectpart.cpp14
-rw-r--r--buildtools/autotools/addapplicationdlgbase.ui4
-rw-r--r--buildtools/autotools/addexistingdirectoriesdlg.cpp14
-rw-r--r--buildtools/autotools/addexistingdirectoriesdlg.h2
-rw-r--r--buildtools/autotools/addexistingfilesdlg.cpp16
-rw-r--r--buildtools/autotools/addexistingfilesdlg.h2
-rw-r--r--buildtools/autotools/addfiledlg.cpp4
-rw-r--r--buildtools/autotools/addicondlg.cpp4
-rw-r--r--buildtools/autotools/addicondlgbase.ui4
-rw-r--r--buildtools/autotools/addprefixdlg.cpp8
-rw-r--r--buildtools/autotools/addservicedlgbase.ui4
-rw-r--r--buildtools/autotools/addsubprojectdlg.cpp4
-rw-r--r--buildtools/autotools/addtargetdlg.cpp2
-rw-r--r--buildtools/autotools/addtargetdlgbase.ui4
-rw-r--r--buildtools/autotools/addtranslationdlg.cpp4
-rw-r--r--buildtools/autotools/autodetailsview.cpp42
-rw-r--r--buildtools/autotools/autoprojectpart.cpp76
-rw-r--r--buildtools/autotools/autoprojectwidget.cpp4
-rw-r--r--buildtools/autotools/autosubprojectview.cpp62
-rw-r--r--buildtools/autotools/autotoolsaction.cpp4
-rw-r--r--buildtools/autotools/choosetargetdialog.cpp10
-rw-r--r--buildtools/autotools/choosetargetdlgbase.ui4
-rw-r--r--buildtools/autotools/configureoptionswidget.cpp6
-rw-r--r--buildtools/autotools/configureoptionswidgetbase.ui4
-rw-r--r--buildtools/autotools/fileselectorwidget.cpp22
-rw-r--r--buildtools/autotools/managecustomcommandsbase.ui4
-rw-r--r--buildtools/autotools/misc.cpp2
-rw-r--r--buildtools/autotools/removefiledlg.cpp4
-rw-r--r--buildtools/autotools/removetargetdlg.cpp4
-rw-r--r--buildtools/autotools/subprojectoptionsdlg.cpp2
-rw-r--r--buildtools/autotools/subprojectoptionsdlgbase.ui4
-rw-r--r--buildtools/autotools/targetoptionsdlg.cpp2
-rw-r--r--buildtools/autotools/targetoptionsdlgbase.ui4
-rw-r--r--buildtools/autotools/tdefilednddetailview.cpp4
-rw-r--r--buildtools/autotools/tdefiledndiconview.cpp4
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidget.cpp8
-rw-r--r--buildtools/custommakefiles/custombuildoptionswidgetbase.ui4
-rw-r--r--buildtools/custommakefiles/custommakeconfigwidget.cpp2
-rw-r--r--buildtools/custommakefiles/custommakeconfigwidgetbase.ui4
-rw-r--r--buildtools/custommakefiles/custommanagerwidget.cpp2
-rw-r--r--buildtools/custommakefiles/customotherconfigwidget.cpp2
-rw-r--r--buildtools/custommakefiles/customotherconfigwidgetbase.ui4
-rw-r--r--buildtools/custommakefiles/customprojectpart.cpp94
-rw-r--r--buildtools/lib/parsers/autotools/tests/viewerbase.ui4
-rw-r--r--buildtools/lib/parsers/qmake/tests/viewerbase.ui4
-rw-r--r--buildtools/lib/widgets/addenvvardlg.cpp8
-rw-r--r--buildtools/lib/widgets/addfilesdialog.cpp10
-rw-r--r--buildtools/lib/widgets/environmentdisplaydialog.h2
-rw-r--r--buildtools/lib/widgets/environmentvariableswidget.cpp2
-rw-r--r--buildtools/lib/widgets/environmentvariableswidgetbase.ui4
-rw-r--r--buildtools/lib/widgets/removesubprojectdialog.h2
-rw-r--r--buildtools/lib/widgets/removesubprojectdlgbase.ui4
-rw-r--r--buildtools/lib/widgets/runoptionswidgetbase.ui4
-rw-r--r--buildtools/lib/widgets/subclassesdlg.h2
-rw-r--r--buildtools/lib/widgets/subclassesdlgbase.ui4
-rw-r--r--buildtools/pascal/pascalproject_optionsdlgbase.ui4
-rw-r--r--buildtools/pascal/pascalproject_part.cpp22
-rw-r--r--buildtools/pascal/pascalprojectoptionsdlg.cpp2
-rw-r--r--buildtools/qmake/choosesubprojectdlg.cpp2
-rw-r--r--buildtools/qmake/choosesubprojectdlg.h2
-rw-r--r--buildtools/qmake/createscopedlg.h2
-rw-r--r--buildtools/qmake/newwidgetdlg.h2
-rw-r--r--buildtools/qmake/newwidgetdlgbase.ui4
-rw-r--r--buildtools/qmake/projectconfigurationdlg.cpp4
-rw-r--r--buildtools/qmake/projectconfigurationdlg.h2
-rw-r--r--buildtools/qmake/projectconfigurationdlgbase.ui4
-rw-r--r--buildtools/qmake/qmakedefaultopts.cpp4
-rw-r--r--buildtools/qmake/trollprojectpart.cpp44
-rw-r--r--buildtools/qmake/trollprojectwidget.cpp77
-rw-r--r--buildtools/script/scriptnewfiledlg.cpp4
-rw-r--r--buildtools/script/scriptprojectpart.cpp10
74 files changed, 371 insertions, 372 deletions
diff --git a/buildtools/ada/adaproject_optionsdlgbase.ui b/buildtools/ada/adaproject_optionsdlgbase.ui
index b98bc1a3..35774d19 100644
--- a/buildtools/ada/adaproject_optionsdlgbase.ui
+++ b/buildtools/ada/adaproject_optionsdlgbase.ui
@@ -447,7 +447,7 @@
<tabstop>addconfig_button</tabstop>
<tabstop>removeconfig_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">compiler_box_activated(const TQString&amp;)</slot>
<slot access="protected">addconfig_button_clicked()</slot>
<slot access="protected">configRemoved()</slot>
@@ -457,7 +457,7 @@
<slot access="protected">configAdded()</slot>
<slot access="protected">setDirty()</slot>
<slot access="protected">setDefaultOptions()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/ada/adaproject_part.cpp b/buildtools/ada/adaproject_part.cpp
index f778c9b2..53086236 100644
--- a/buildtools/ada/adaproject_part.cpp
+++ b/buildtools/ada/adaproject_part.cpp
@@ -23,7 +23,7 @@
#include <kdialogbase.h>
#include <tdemessagebox.h>
#include <klibloader.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kservice.h>
#include <tdeconfig.h>
@@ -54,17 +54,17 @@ AdaProjectPart::AdaProjectPart(TQObject *parent, const char *name, const TQStrin
TDEAction *action;
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
- this, TQT_SLOT(slotExecute()),
+ this, TQ_SLOT(slotExecute()),
actionCollection(), "build_execute" );
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
- this, TQT_SLOT(configWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)),
+ this, TQ_SLOT(configWidget(KDialogBase*)) );
// m_widget = new AdaProjectWidget(this);
@@ -374,8 +374,8 @@ void AdaProjectPart::projectConfigWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Ada Compiler"));
AdaProjectOptionsDlg *w = new AdaProjectOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(loadProjectConfig()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(loadProjectConfig()) );
}
void AdaProjectPart::loadProjectConfig( )
@@ -405,7 +405,7 @@ void AdaProjectPart::configWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Ada Compiler"));
AdaGlobalOptionsDlg *w = new AdaGlobalOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
KDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name)
diff --git a/buildtools/ada/adaprojectoptionsdlg.cpp b/buildtools/ada/adaprojectoptionsdlg.cpp
index 28549efc..3a0624cb 100644
--- a/buildtools/ada/adaprojectoptionsdlg.cpp
+++ b/buildtools/ada/adaprojectoptionsdlg.cpp
@@ -27,7 +27,7 @@
AdaProjectOptionsDlg::AdaProjectOptionsDlg(AdaProjectPart *part, TQWidget* parent, const char* name, WFlags fl)
: AdaProjectOptionsDlgBase(parent,name, fl), m_part(part)
{
- config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
offers = TDETrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp
index f53357da..3c71e490 100644
--- a/buildtools/ant/antprojectpart.cpp
+++ b/buildtools/ant/antprojectpart.cpp
@@ -53,7 +53,7 @@ AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStrin
setXMLFile("kdevantproject.rc");
m_buildProjectAction = new TDEAction(i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
m_buildProjectAction->setToolTip(i18n("Build project"));
m_buildProjectAction->setWhatsThis(i18n("<b>Build project</b><p>Executes <b>ant dist</b> command to build the project."));
@@ -65,9 +65,9 @@ AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStrin
m_targetMenu = menu->popupMenu();
- connect(m_targetMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotTargetMenuActivated(int)));
- connect(core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)));
- connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+ connect(m_targetMenu, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotTargetMenuActivated(int)));
+ connect(core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)));
+ connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
m_antOptionsWidget = 0;
}
@@ -497,7 +497,7 @@ void AntProjectPart::projectConfigWidget(KDialogBase *dlg)
++i;
}
- connect(dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(optionsAccepted()));
+ connect(dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(optionsAccepted()));
vbox = dlg->addVBoxPage(i18n("Classpath"));
m_classPathWidget = new ClassPathWidget(vbox);
@@ -563,13 +563,13 @@ void AntProjectPart::contextMenu(TQPopupMenu *popup, const Context *context)
if (inProject)
{
int id = popup->insertItem( i18n("Remove %1 From Project").arg(popupstr),
- this, TQT_SLOT(slotRemoveFromProject()) );
+ this, TQ_SLOT(slotRemoveFromProject()) );
popup->setWhatsThis(id, i18n("<b>Remove from project</b><p>Removes current file from the project."));
}
else
{
int id = popup->insertItem( i18n("Add %1 to Project").arg(popupstr),
- this, TQT_SLOT(slotAddToProject()) );
+ this, TQ_SLOT(slotAddToProject()) );
popup->setWhatsThis(id, i18n("<b>Add to project</b><p>Adds current file from the project."));
}
}
diff --git a/buildtools/autotools/addapplicationdlgbase.ui b/buildtools/autotools/addapplicationdlgbase.ui
index e7495907..61e0d105 100644
--- a/buildtools/autotools/addapplicationdlgbase.ui
+++ b/buildtools/autotools/addapplicationdlgbase.ui
@@ -539,11 +539,11 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">addTypeClicked()</slot>
<slot access="protected">iconClicked()</slot>
<slot access="protected">removeTypeClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/addexistingdirectoriesdlg.cpp b/buildtools/autotools/addexistingdirectoriesdlg.cpp
index efdff38f..72aff0a7 100644
--- a/buildtools/autotools/addexistingdirectoriesdlg.cpp
+++ b/buildtools/autotools/addexistingdirectoriesdlg.cpp
@@ -20,7 +20,7 @@
#include <kprogress.h>
#include <tdelocale.h>
#include <tdeio/netaccess.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "autolistviewitems.h"
#include "autosubprojectview.h"
@@ -87,14 +87,14 @@ void AddExistingDirectoriesDialog::init()
importView->setMode ( TDEIconView::Select );
importView->setItemsMovable ( false );
- connect ( okButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotOk () ) );
+ connect ( okButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotOk () ) );
- connect ( addSelectedButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddSelected() ) );
- connect ( addAllButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddAll() ) );
- connect ( removeSelectedButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRemoveSelected() ) );
- connect ( removeAllButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRemoveAll() ) );
+ connect ( addSelectedButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddSelected() ) );
+ connect ( addAllButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddAll() ) );
+ connect ( removeSelectedButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRemoveSelected() ) );
+ connect ( removeAllButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRemoveAll() ) );
- connect ( importView, TQT_SIGNAL ( dropped( TQDropEvent* ) ), this, TQT_SLOT ( slotDropped ( TQDropEvent* ) ) );
+ connect ( importView, TQ_SIGNAL ( dropped( TQDropEvent* ) ), this, TQ_SLOT ( slotDropped ( TQDropEvent* ) ) );
importView->setSelectionMode ( KFile::Multi );
diff --git a/buildtools/autotools/addexistingdirectoriesdlg.h b/buildtools/autotools/addexistingdirectoriesdlg.h
index c68e8113..9cdc20e7 100644
--- a/buildtools/autotools/addexistingdirectoriesdlg.h
+++ b/buildtools/autotools/addexistingdirectoriesdlg.h
@@ -41,7 +41,7 @@ class AddExistingDirectoriesDialog : public AddExistingDlgBase
public:
AddExistingDirectoriesDialog ( AutoProjectPart* part, AutoProjectWidget *widget,
SubprojectItem* spitem, TQWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ const char* name = 0, bool modal = false, WFlags fl = 0 );
~AddExistingDirectoriesDialog();
private:
diff --git a/buildtools/autotools/addexistingfilesdlg.cpp b/buildtools/autotools/addexistingfilesdlg.cpp
index 20dbf41b..a58fe596 100644
--- a/buildtools/autotools/addexistingfilesdlg.cpp
+++ b/buildtools/autotools/addexistingfilesdlg.cpp
@@ -30,7 +30,7 @@
#include <tdefileview.h>
#include <kguiitem.h>
#include <kprogress.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kurldrag.h>
#include <tdemessagebox.h>
#include <kmimetype.h>
@@ -53,7 +53,7 @@
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
- * TRUE to construct a modal dialog.
+ * true to construct a modal dialog.
*/
AddExistingFilesDialog::AddExistingFilesDialog ( AutoProjectPart* part, AutoProjectWidget *widget, SubprojectItem* spitem, TargetItem* titem, TQWidget* parent, const char* name, bool modal, WFlags fl )
@@ -128,14 +128,14 @@ void AddExistingFilesDialog::init()
importView->setMode ( TDEIconView::Select );
importView->setItemsMovable ( false );
- connect ( okButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotOk () ) );
+ connect ( okButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotOk () ) );
- connect ( addSelectedButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddSelected() ) );
- connect ( addAllButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddAll() ) );
- connect ( removeSelectedButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRemoveSelected() ) );
- connect ( removeAllButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRemoveAll() ) );
+ connect ( addSelectedButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddSelected() ) );
+ connect ( addAllButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddAll() ) );
+ connect ( removeSelectedButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRemoveSelected() ) );
+ connect ( removeAllButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRemoveAll() ) );
- connect ( importView, TQT_SIGNAL ( dropped( TQDropEvent* ) ), this, TQT_SLOT ( slotDropped ( TQDropEvent* ) ) );
+ connect ( importView, TQ_SIGNAL ( dropped( TQDropEvent* ) ), this, TQ_SLOT ( slotDropped ( TQDropEvent* ) ) );
importView->setSelectionMode ( KFile::Multi );
diff --git a/buildtools/autotools/addexistingfilesdlg.h b/buildtools/autotools/addexistingfilesdlg.h
index 3d9fed36..7ffefa31 100644
--- a/buildtools/autotools/addexistingfilesdlg.h
+++ b/buildtools/autotools/addexistingfilesdlg.h
@@ -44,7 +44,7 @@ class AddExistingFilesDialog : public AddExistingDlgBase
public:
AddExistingFilesDialog( AutoProjectPart* part, AutoProjectWidget *widget,
SubprojectItem* spitem, TargetItem* titem, TQWidget* parent = 0,
- const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ const char* name = 0, bool modal = false, WFlags fl = 0 );
~AddExistingFilesDialog();
private:
diff --git a/buildtools/autotools/addfiledlg.cpp b/buildtools/autotools/addfiledlg.cpp
index d3f71637..0840eca5 100644
--- a/buildtools/autotools/addfiledlg.cpp
+++ b/buildtools/autotools/addfiledlg.cpp
@@ -43,8 +43,8 @@ AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget,
TQWidget *parent, const char *name)
: AddFileDlgBase(parent, name, true)
{
- connect ( createButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( accept() ) );
- connect ( cancelButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( reject() ) );
+ connect ( createButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( accept() ) );
+ connect ( cancelButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( reject() ) );
directoryLabel->setText ( spitem->path );
if ( item->name.isEmpty() )
diff --git a/buildtools/autotools/addicondlg.cpp b/buildtools/autotools/addicondlg.cpp
index 1a32de18..ffd70efc 100644
--- a/buildtools/autotools/addicondlg.cpp
+++ b/buildtools/autotools/addicondlg.cpp
@@ -16,8 +16,8 @@
#include <klineedit.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <kicontheme.h>
#include <tdeversion.h> // fix me!
diff --git a/buildtools/autotools/addicondlgbase.ui b/buildtools/autotools/addicondlgbase.ui
index 354a8f88..7d65613d 100644
--- a/buildtools/autotools/addicondlgbase.ui
+++ b/buildtools/autotools/addicondlgbase.ui
@@ -260,9 +260,9 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>somethingChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/addprefixdlg.cpp b/buildtools/autotools/addprefixdlg.cpp
index 85f6f0fd..f7e13956 100644
--- a/buildtools/autotools/addprefixdlg.cpp
+++ b/buildtools/autotools/addprefixdlg.cpp
@@ -30,14 +30,14 @@ AddPrefixDialog::AddPrefixDialog( const TQString& nameEdit, const TQString& path
name_edit = new KLineEdit(nameEdit, this);
name_edit->setFocus();
name_label->setBuddy(name_edit);
- connect( name_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), TQT_SLOT( slotPrefixChanged() ) );
+ connect( name_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), TQ_SLOT( slotPrefixChanged() ) );
TQLabel *path_label = new TQLabel(i18n("&Path:"), this);
path_edit = new KLineEdit(pathEdit, this);
path_label->setBuddy(path_edit);
TQFontMetrics fm(path_edit->fontMetrics());
path_edit->setMinimumWidth(fm.width('X')*35);
- connect( path_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), TQT_SLOT( slotPrefixChanged() ) );
+ connect( path_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), TQ_SLOT( slotPrefixChanged() ) );
TQVBoxLayout *layout = new TQVBoxLayout(this, 10);
@@ -57,8 +57,8 @@ AddPrefixDialog::AddPrefixDialog( const TQString& nameEdit, const TQString& path
m_pOk = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
m_pOk->setDefault(true);
- connect( m_pOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( m_pOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
buttonbox->layout();
layout->addWidget(buttonbox, 0);
slotPrefixChanged();
diff --git a/buildtools/autotools/addservicedlgbase.ui b/buildtools/autotools/addservicedlgbase.ui
index ad8e1b49..a921195e 100644
--- a/buildtools/autotools/addservicedlgbase.ui
+++ b/buildtools/autotools/addservicedlgbase.ui
@@ -530,12 +530,12 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">iconClicked()</slot>
<slot access="protected">addTypeClicked()</slot>
<slot access="protected">propertyExecuted(TQListViewItem*)</slot>
<slot access="protected">removeTypeClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/addsubprojectdlg.cpp b/buildtools/autotools/addsubprojectdlg.cpp
index 59cebc53..4ad97fd6 100644
--- a/buildtools/autotools/addsubprojectdlg.cpp
+++ b/buildtools/autotools/addsubprojectdlg.cpp
@@ -37,8 +37,8 @@ AddSubprojectDialog::AddSubprojectDialog(AutoProjectPart *part, AutoSubprojectVi
{
setIcon(SmallIcon("folder_new.png"));
- connect( createButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancelButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( createButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancelButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
m_subProject = item;
m_subprojectView = view;
diff --git a/buildtools/autotools/addtargetdlg.cpp b/buildtools/autotools/addtargetdlg.cpp
index 92cc834c..e9ce04d8 100644
--- a/buildtools/autotools/addtargetdlg.cpp
+++ b/buildtools/autotools/addtargetdlg.cpp
@@ -50,7 +50,7 @@ AddTargetDialog::AddTargetDialog(AutoProjectWidget *widget, SubprojectItem *item
if (widget->kdeMode())
ldflagsother_edit->setText("$(all_libraries)");
- connect( filename_edit, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slotFileNameChanged (const TQString&) ) );
+ connect( filename_edit, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotFileNameChanged (const TQString&) ) );
setIcon ( SmallIcon ( "targetnew_tdevelop.png" ) );
diff --git a/buildtools/autotools/addtargetdlgbase.ui b/buildtools/autotools/addtargetdlgbase.ui
index 77bb8adc..b7b48d36 100644
--- a/buildtools/autotools/addtargetdlgbase.ui
+++ b/buildtools/autotools/addtargetdlgbase.ui
@@ -334,9 +334,9 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">primaryChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/addtranslationdlg.cpp b/buildtools/autotools/addtranslationdlg.cpp
index fe7de2a3..d745de2a 100644
--- a/buildtools/autotools/addtranslationdlg.cpp
+++ b/buildtools/autotools/addtranslationdlg.cpp
@@ -54,8 +54,8 @@ AddTranslationDialog::AddTranslationDialog(AutoProjectPart *part, TQWidget *pare
TQPushButton *ok_button = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel_button = buttonbox->addButton(KStdGuiItem::cancel());
ok_button->setDefault(true);
- connect( ok_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancel_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( ok_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
buttonbox->layout();
layout->addWidget(buttonbox, 0);
diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp
index 936f7eb1..c9c2ce75 100644
--- a/buildtools/autotools/autodetailsview.cpp
+++ b/buildtools/autotools/autodetailsview.cpp
@@ -79,10 +79,10 @@ AutoDetailsView::AutoDetailsView(AutoProjectWidget* widget, AutoProjectPart* par
buildTargetAction->setEnabled( false );
executeTargetAction->setEnabled( false );
removeDetailAction->setEnabled(false);
- connect( m_listView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotSelectionChanged( TQListViewItem* ) ) );
- connect( m_listView, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( slotSelectionChanged( ) ) );
+ connect( m_listView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotSelectionChanged( TQListViewItem* ) ) );
+ connect( m_listView, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( slotSelectionChanged( ) ) );
}
@@ -177,7 +177,7 @@ void AutoDetailsView::initActions()
TDEActionCollection * actions = new TDEActionCollection( this );
targetOptionsAction = new AutoToolsAction( i18n( "Options..." ), "configure", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotTargetOptions() ), actions,
+ this, TQ_SLOT( slotTargetOptions() ), actions,
"target options" );
targetOptionsAction->setWhatsThis(i18n("<b>Options</b><p>Target options dialog that "
"provides settings for linker flags and lists "
@@ -188,7 +188,7 @@ void AutoDetailsView::initActions()
TQToolTip::add( m_button1, tr2i18n( "Create New File..." ) );
addNewFileAction = new AutoToolsAction( i18n( "Create New File..." ), "document-new", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddNewFile() ), actions,
+ this, TQ_SLOT( slotAddNewFile() ), actions,
"add new file" );
addNewFileAction->setWhatsThis(i18n("<b>Create new file</b><p>Creates a new file and "
"adds it to a currently selected target."));
@@ -197,7 +197,7 @@ void AutoDetailsView::initActions()
TQToolTip::add( m_button2, tr2i18n( "Add Existing Files..." ) );
addExistingFileAction = new AutoToolsAction( i18n( "Add Existing Files..." ), "fileimport", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddExistingFile() ), actions,
+ this, TQ_SLOT( slotAddExistingFile() ), actions,
"add existing file" );
addExistingFileAction->setWhatsThis(i18n("<b>Add existing files</b><p>Adds existing "
"file to a currently selected target. Header "
@@ -208,12 +208,12 @@ void AutoDetailsView::initActions()
addExistingFileAction->setEnabled( false );
addIconAction = new TDEAction( i18n( "Add Icon..." ), "iconadd_tdevelop", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddIcon() ), actions, "add icon" );
+ this, TQ_SLOT( slotAddIcon() ), actions, "add icon" );
addIconAction->setWhatsThis(i18n("<b>Add icon</b><p>Adds an icon to a KDEICON target."));
TQToolTip::add( m_button4, tr2i18n( "Build Target"));
buildTargetAction = new AutoToolsAction( i18n( "Build Target..." ), "launch", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotBuildTarget() ), actions,
+ this, TQ_SLOT( slotBuildTarget() ), actions,
"build target" );
buildTargetAction->setWhatsThis(i18n("<b>Build target</b><p>Constructs a series of "
"make commands to build the selected target. "
@@ -223,7 +223,7 @@ void AutoDetailsView::initActions()
TQToolTip::add( m_button5, tr2i18n( "Execute Target..."));
executeTargetAction = new AutoToolsAction( i18n( "Execute Target..." ), "application-x-executable", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotExecuteTarget() ), actions,
+ this, TQ_SLOT( slotExecuteTarget() ), actions,
"execute target" );
executeTargetAction->setWhatsThis(i18n("<b>Execute target</b><p>Executes the target "
"and tries to build in case it is not built."));
@@ -231,7 +231,7 @@ void AutoDetailsView::initActions()
executeTargetAction->setEnabled( false );
setActiveTargetAction = new TDEAction( i18n( "Make Target Active" ), "", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotSetActiveTarget() ), actions,
+ this, TQ_SLOT( slotSetActiveTarget() ), actions,
"set active target" );
setActiveTargetAction->setWhatsThis(i18n("<b>Make target active</b><p>Marks the "
"currently selected target as 'active'. New "
@@ -241,8 +241,8 @@ void AutoDetailsView::initActions()
"command builds it."));
TQToolTip::add( m_button3, tr2i18n( "Remove"));
- removeDetailAction = new AutoToolsAction( i18n( "Remove" ), "edit-delete", 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotRemoveDetail() ), actions,
+ removeDetailAction = new AutoToolsAction( i18n( "Remove" ), "edit-delete", 0, this,
+ TQ_SLOT( slotRemoveDetail() ), actions,
"remove detail" );
removeDetailAction->setWhatsThis(i18n("<b>Remove</b><p>Shows a list of targets "
"dependent on the selected target or file and "
@@ -251,12 +251,12 @@ void AutoDetailsView::initActions()
removeDetailAction->plug( m_button3 );
removeDetailAction->setEnabled( false );
- connect( m_listView, TQT_SIGNAL( executed( TQListViewItem* ) ),
- this, TQT_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
- connect( m_listView, TQT_SIGNAL( returnPressed( TQListViewItem* ) ),
- this, TQT_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
- connect( m_listView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
- this, TQT_SLOT( slotDetailsContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
+ connect( m_listView, TQ_SIGNAL( executed( TQListViewItem* ) ),
+ this, TQ_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
+ connect( m_listView, TQ_SIGNAL( returnPressed( TQListViewItem* ) ),
+ this, TQ_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
+ connect( m_listView, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
+ this, TQ_SLOT( slotDetailsContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
}
TQString AutoDetailsView::getUiFileLink(const TQString& relpath, const TQString& filename)
@@ -587,7 +587,7 @@ void AutoDetailsView::slotDetailsContextMenu( TDEListView *, TQListViewItem *ite
popup.setWhatsThis(idViewUIH, i18n("<b>Open ui.h file</b><p>Opens .ui.h file "
"associated with the selected .ui."));
- if (!fitem->name.contains(TQRegExp("ui$")) || fitem->is_subst == true)
+ if (!fitem->name.contains(TQRegExp("ui$")) || fitem->is_subst)
{
popup.removeItem(idUISubclasses);
popup.removeItem(idViewUIH);
@@ -597,7 +597,7 @@ void AutoDetailsView::slotDetailsContextMenu( TDEListView *, TQListViewItem *ite
if (fitem->uiFileLink.isEmpty())
popup.removeItem(idUpdateWidgetclass);
- if(fitem->is_subst == false)
+ if(!fitem->is_subst)
m_part->core()->fillContextMenu( &popup, &context );
int r = popup.exec( p );
diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp
index c1008072..820d2d35 100644
--- a/buildtools/autotools/autoprojectpart.cpp
+++ b/buildtools/autotools/autoprojectpart.cpp
@@ -38,11 +38,11 @@
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include <tdeparts/part.h>
#include <tdeversion.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <domutil.h>
#include <kdevcore.h>
@@ -91,7 +91,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
TDEAction *action;
action = new TDEAction( i18n("Add Translation..."), 0,
- this, TQT_SLOT(slotAddTranslation()),
+ this, TQ_SLOT(slotAddTranslation()),
actionCollection(), "project_addtranslation" );
action->setToolTip(i18n("Add translation"));
action->setWhatsThis(i18n("<b>Add translation</b><p>Creates .po file for the selected language."));
@@ -102,7 +102,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setEnabled(false);
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
action->setToolTip(i18n("Build project"));
action->setWhatsThis(i18n("<b>Build project</b><p>Runs <b>make</b> from the project directory.<br>"
@@ -111,7 +111,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Build &Active Target"), "make_tdevelop", Key_F7,
- this, TQT_SLOT(slotBuildActiveTarget()),
+ this, TQ_SLOT(slotBuildActiveTarget()),
actionCollection(), "build_buildactivetarget" );
action->setToolTip(i18n("Build active target"));
action->setWhatsThis(i18n("<b>Build active target</b><p>Constructs a series of make commands to build an active target. "
@@ -121,7 +121,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Compile &File"), "make_tdevelop",
- this, TQT_SLOT(slotCompileFile()),
+ this, TQ_SLOT(slotCompileFile()),
actionCollection(), "build_compilefile" );
action->setToolTip(i18n("Compile file"));
action->setWhatsThis(i18n("<b>Compile file</b><p>Runs <b>make filename.o</b> command from the directory where 'filename' is the name of currently opened file.<br>"
@@ -130,7 +130,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Run Configure"), 0,
- this, TQT_SLOT(slotConfigure()),
+ this, TQ_SLOT(slotConfigure()),
actionCollection(), "build_configure" );
action->setToolTip(i18n("Run configure"));
action->setWhatsThis(i18n("<b>Run configure</b><p>Executes <b>configure</b> with flags, arguments "
@@ -139,21 +139,21 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Run automake && friends"), 0,
- this, TQT_SLOT(slotMakefilecvs()),
+ this, TQ_SLOT(slotMakefilecvs()),
actionCollection(), "build_makefilecvs" );
action->setToolTip(i18n("Run automake && friends"));
action->setWhatsThis(i18n("<b>Run automake && friends</b><p>Executes<br><b>make -f Makefile.cvs</b><br><b>./configure</b><br>commands from the project directory."));
action->setGroup("autotools");
action = new TDEAction( i18n("Update admin module"), 0,
- this, TQT_SLOT(slotUpdateAdminDirectory()),
+ this, TQ_SLOT(slotUpdateAdminDirectory()),
actionCollection(), "build_updateadmin" );
action->setToolTip(i18n("Update admin module"));
action->setWhatsThis(i18n("<b>Update admin module</b><p>Recreates the project admin directory using the version present on the local system."));
action->setGroup("autotools");
action = new TDEAction( i18n("Install"), 0,
- this, TQT_SLOT(slotInstall()),
+ this, TQ_SLOT(slotInstall()),
actionCollection(), "build_install" );
action->setToolTip(i18n("Install"));
action->setWhatsThis(i18n("<b>Install</b><p>Runs <b>make install</b> command from the project directory.<br>"
@@ -162,7 +162,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Install (as root user)"), 0,
- this, TQT_SLOT(slotInstallWithKdesu()),
+ this, TQ_SLOT(slotInstallWithKdesu()),
actionCollection(), "build_install_tdesu" );
action->setToolTip(i18n("Install as root user"));
action->setWhatsThis(i18n("<b>Install</b><p>Runs <b>make install</b> command from the project directory with root privileges.<br>"
@@ -172,7 +172,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("&Clean Project"), 0,
- this, TQT_SLOT(slotClean()),
+ this, TQ_SLOT(slotClean()),
actionCollection(), "build_clean" );
action->setToolTip(i18n("Clean project"));
action->setWhatsThis(i18n("<b>Clean project</b><p>Runs <b>make clean</b> command from the project directory.<br>"
@@ -181,7 +181,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("&Distclean"), 0,
- this, TQT_SLOT(slotDistClean()),
+ this, TQ_SLOT(slotDistClean()),
actionCollection(), "build_distclean" );
action->setToolTip(i18n("Distclean"));
action->setWhatsThis(i18n("<b>Distclean</b><p>Runs <b>make distclean</b> command from the project directory.<br>"
@@ -190,7 +190,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
action->setGroup("autotools");
action = new TDEAction( i18n("Make Messages && Merge"), 0,
- this, TQT_SLOT(slotMakeMessages()),
+ this, TQ_SLOT(slotMakeMessages()),
actionCollection(), "build_messages" );
action->setToolTip(i18n("Make messages && merge"));
action->setWhatsThis(i18n("<b>Make messages && merge</b><p>Runs <b>make package-messages</b> command from the project directory.<br>"
@@ -214,32 +214,32 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr
if (!DomUtil::readBoolEntry(dom, "/kdevautoproject/run/disable_default")) {
//ok we handle the execute in this kpart
action = new TDEAction( i18n("Execute Program"), "application-x-executable", SHIFT+Key_F9,
- this, TQT_SLOT(slotExecute()),
+ this, TQ_SLOT(slotExecute()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Execute program"));
action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the currently active target or the main program specified in project settings, <b>Run Options</b> tab."));
action->setGroup("autotools");
}
- connect( buildConfigAction, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotBuildConfigChanged(const TQString&)) );
- connect( buildConfigAction->popupMenu(), TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(slotBuildConfigAboutToShow()) );
+ connect( buildConfigAction, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotBuildConfigChanged(const TQString&)) );
+ connect( buildConfigAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotBuildConfigAboutToShow()) );
-// connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+// connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("Configure Options"), CONFIGURE_OPTIONS, info()->icon() );
_configProxy->createProjectConfigPage( i18n("Run Options"), RUN_OPTIONS, info()->icon() );
_configProxy->createProjectConfigPage( i18n("Make Options"), MAKE_OPTIONS, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- connect( makeFrontend(), TQT_SIGNAL(commandFinished(const TQString&)),
- this, TQT_SLOT(slotCommandFinished(const TQString&)) );
- connect( makeFrontend(), TQT_SIGNAL(commandFailed(const TQString&)),
- this, TQT_SLOT(slotCommandFailed(const TQString&)) );
+ connect( makeFrontend(), TQ_SIGNAL(commandFinished(const TQString&)),
+ this, TQ_SLOT(slotCommandFinished(const TQString&)) );
+ connect( makeFrontend(), TQ_SIGNAL(commandFailed(const TQString&)),
+ this, TQ_SLOT(slotCommandFailed(const TQString&)) );
setWantautotools();
@@ -265,7 +265,7 @@ void AutoProjectPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * pag
case CONFIGURE_OPTIONS:
{
ConfigureOptionsWidget *w2 = new ConfigureOptionsWidget(this, page );
- connect( dlg, TQT_SIGNAL(okClicked()), w2, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w2, TQ_SLOT(accept()) );
}
break;
@@ -276,7 +276,7 @@ void AutoProjectPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * pag
{
//ok we handle the execute in this kpart
RunOptionsWidget *w3 = new RunOptionsWidget(*projectDom(), "/kdevautoproject", buildDirectory(), page );
- connect( dlg, TQT_SIGNAL(okClicked()), w3, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w3, TQ_SLOT(accept()) );
}
}
break;
@@ -284,7 +284,7 @@ void AutoProjectPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * pag
case MAKE_OPTIONS:
{
MakeOptionsWidget *w4 = new MakeOptionsWidget(*projectDom(), "/kdevautoproject", page );
- connect( dlg, TQT_SIGNAL(okClicked()), w4, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w4, TQ_SLOT(accept()) );
}
break;
}
@@ -509,7 +509,7 @@ TQString AutoProjectPart::makeEnvironment() const
environstr += " ";
}
- TDEConfigGroup grp( kapp->config(), "MakeOutputView" );
+ TDEConfigGroup grp( tdeApp->config(), "MakeOutputView" );
if( grp.readBoolEntry( "ForceCLocale", true ) )
environstr += "LC_MESSAGES="+EnvVarTools::quote("C")+" "+"LC_CTYPE="+EnvVarTools::quote("C")+" ";
@@ -1197,7 +1197,7 @@ void AutoProjectPart::slotExecute()
if (appFrontend()->isRunning()) {
if (KMessageBox::questionYesNo(m_widget, i18n("Your application is currently running. Do you want to restart it?"), i18n("Application Already Running"), i18n("&Restart Application"), i18n("Do &Nothing")) == KMessageBox::No)
return;
- connect(appFrontend(), TQT_SIGNAL(processExited()), TQT_SLOT(slotExecute2()));
+ connect(appFrontend(), TQ_SIGNAL(processExited()), TQ_SLOT(slotExecute2()));
appFrontend()->stopApplication();
return;
}
@@ -1221,8 +1221,8 @@ void AutoProjectPart::executeTarget(const TQDir& dir, const TargetItem* titem)
if( DomUtil::readBoolEntry(*projectDom(), "/kdevautoproject/run/autocompile", true) && is_dirty )
{
- connect( makeFrontend(), TQT_SIGNAL(commandFinished(const TQString&)), this, TQT_SLOT(slotExecuteTargetAfterBuild(const TQString&)) );
- connect( makeFrontend(), TQT_SIGNAL(commandFailed(const TQString&)), this, TQT_SLOT(slotNotExecuteTargetAfterBuildFailed(const TQString&)) );
+ connect( makeFrontend(), TQ_SIGNAL(commandFinished(const TQString&)), this, TQ_SLOT(slotExecuteTargetAfterBuild(const TQString&)) );
+ connect( makeFrontend(), TQ_SIGNAL(commandFailed(const TQString&)), this, TQ_SLOT(slotNotExecuteTargetAfterBuildFailed(const TQString&)) );
m_runProg=titem->name;
m_executeTargetAfterBuild.first = dir;
@@ -1268,8 +1268,8 @@ void AutoProjectPart::slotExecuteTargetAfterBuild(const TQString& command)
kdDebug(9020) << "slotExecuteTargetAfterBuild " << command << endl;
if ( m_executeAfterBuild && constructMakeCommandLine(m_executeTargetAfterBuild.first.path(), m_executeTargetAfterBuild.second->name) == command )
{
- disconnect( makeFrontend(), TQT_SIGNAL(commandFinished(const TQString&)), this, TQT_SLOT(slotExecuteAfterTargetBuild()) );
- disconnect( makeFrontend(), TQT_SIGNAL(commandFailed(const TQString&)), this, TQT_SLOT(slotExecuteAfterTargetBuildFailed()) );
+ disconnect( makeFrontend(), TQ_SIGNAL(commandFinished(const TQString&)), this, TQ_SLOT(slotExecuteAfterTargetBuild()) );
+ disconnect( makeFrontend(), TQ_SIGNAL(commandFailed(const TQString&)), this, TQ_SLOT(slotExecuteAfterTargetBuildFailed()) );
kdDebug(9020) << "slotExecuteTargetAfterBuild " << endl;
executeTarget(m_executeTargetAfterBuild.first, m_executeTargetAfterBuild.second);
}
@@ -1282,8 +1282,8 @@ void AutoProjectPart::slotNotExecuteTargetAfterBuildFailed(const TQString& comma
if ( constructMakeCommandLine(m_executeTargetAfterBuild.first.path(), m_executeTargetAfterBuild.second->name) == command )
{
m_executeAfterBuild=false;
- disconnect( makeFrontend(), TQT_SIGNAL(commandFinished(const TQString&)), this, TQT_SLOT(slotExecuteTargetAfterBuild()) );
- disconnect( makeFrontend(), TQT_SIGNAL(commandFailed(const TQString&)), this, TQT_SLOT(slotNotExecuteTargetAfterBuildFailed()) );
+ disconnect( makeFrontend(), TQ_SIGNAL(commandFinished(const TQString&)), this, TQ_SLOT(slotExecuteTargetAfterBuild()) );
+ disconnect( makeFrontend(), TQ_SIGNAL(commandFailed(const TQString&)), this, TQ_SLOT(slotNotExecuteTargetAfterBuildFailed()) );
}
}
@@ -1312,7 +1312,7 @@ TQString AutoProjectPart::environString() const
*/
void AutoProjectPart::slotExecute2()
{
- disconnect(appFrontend(), TQT_SIGNAL(processExited()), this, TQT_SLOT(slotExecute2()));
+ disconnect(appFrontend(), TQ_SIGNAL(processExited()), this, TQ_SLOT(slotExecute2()));
if (m_runProg.isEmpty()){
// Do not execute non executable targets
diff --git a/buildtools/autotools/autoprojectwidget.cpp b/buildtools/autotools/autoprojectwidget.cpp
index aa4c9e34..1b732dde 100644
--- a/buildtools/autotools/autoprojectwidget.cpp
+++ b/buildtools/autotools/autoprojectwidget.cpp
@@ -113,8 +113,8 @@ void AutoProjectWidget::initDetailview ( TQWidget* parent )
void AutoProjectWidget::initActions()
{
- connect( m_subprojectView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotOverviewSelectionChanged( TQListViewItem* ) ) );
+ connect( m_subprojectView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotOverviewSelectionChanged( TQListViewItem* ) ) );
}
AutoSubprojectView* AutoProjectWidget::getSubprojectView ()
diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp
index 6d6b6c01..9ce7b0cf 100644
--- a/buildtools/autotools/autosubprojectview.cpp
+++ b/buildtools/autotools/autosubprojectview.cpp
@@ -28,7 +28,7 @@
#include <tdepopupmenu.h>
#include <tdemessagebox.h>
#include <tdeapplication.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <ksqueezedtextlabel.h>
#include <kdialogbase.h>
#include <tdelistview.h>
@@ -118,8 +118,8 @@ AutoSubprojectView::AutoSubprojectView(AutoProjectWidget* widget, AutoProjectPar
m_listView->header()->hide();
m_listView->addColumn( TQString() );
- connect( m_listView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotSelectionChanged( TQListViewItem* ) ) );
+ connect( m_listView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotSelectionChanged( TQListViewItem* ) ) );
initActions();
}
@@ -173,7 +173,7 @@ void AutoSubprojectView::initActions()
TDEActionCollection * actions = new TDEActionCollection( this );
subProjectOptionsAction = new AutoToolsAction( i18n( "Options..." ), "configure", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotSubprojectOptions() ), actions, "subproject options" );
+ this, TQ_SLOT( slotSubprojectOptions() ), actions, "subproject options" );
subProjectOptionsAction->setWhatsThis(i18n("<qt><b>Options</b><p>Shows subproject options dialog "
"that provides settings for compiler, include paths, "
"prefixes and build order.</qt>"));
@@ -181,24 +181,24 @@ void AutoSubprojectView::initActions()
TQToolTip::add( m_button1, tr2i18n( "Add new subproject..."));
addSubprojectAction = new AutoToolsAction( i18n( "Add new subproject..." ), "folder-new", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddSubproject() ), actions, "add subproject" );
+ this, TQ_SLOT( slotAddSubproject() ), actions, "add subproject" );
addSubprojectAction->setWhatsThis(i18n("<qt><b>Add new subproject</b><p>Creates a new "
"subproject in currently selected subproject.</qt>"));
addSubprojectAction->plug( m_button1 );
removeSubprojectAction = new TDEAction( i18n( "Remove Subproject..." ), "remove_subdir", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotRemoveSubproject() ), actions, "remove subproject" );
+ this, TQ_SLOT( slotRemoveSubproject() ), actions, "remove subproject" );
removeSubprojectAction->setWhatsThis(i18n("<qt><b>Remove subproject</b><p>Removes the subproject. Asks if the "
"subproject should be also removed from disk. Only subprojects "
"which do not hold other subprojects can be removed.</qt>"));
addExistingSubprojectAction = new TDEAction( i18n( "Add Existing Subprojects..." ), "fileimport", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddExistingSubproject() ), actions, "add existing subproject" );
+ this, TQ_SLOT( slotAddExistingSubproject() ), actions, "add existing subproject" );
addExistingSubprojectAction->setWhatsThis(i18n("<qt><b>Add existing subprojects</b><p>Imports existing "
"subprojects containing Makefile.am.</qt>"));
TQToolTip::add( m_button2, tr2i18n( "Add Target..."));
addTargetAction = new AutoToolsAction( i18n( "Add Target..." ), "targetnew_tdevelop", 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotAddTarget() ), actions, "add target" );
+ this, TQ_SLOT( slotAddTarget() ), actions, "add target" );
addTargetAction->setWhatsThis(i18n( "<qt><b>Add target</b><p>Adds a new target to "
"the currently selected subproject. Target can be a "
"binary program, library, script, also a collection of "
@@ -206,28 +206,28 @@ void AutoSubprojectView::initActions()
addTargetAction->plug( m_button2 );
TQToolTip::add( m_button3, tr2i18n( "Add Service..."));
- addServiceAction = new AutoToolsAction( i18n( "Add Service..." ), "servicenew_tdevelop", 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotAddService() ), actions, "add service" );
+ addServiceAction = new AutoToolsAction( i18n( "Add Service..." ), "servicenew_tdevelop", 0, this,
+ TQ_SLOT( slotAddService() ), actions, "add service" );
addServiceAction->setWhatsThis(i18n("<qt><b>Add service</b><p>Creates a .desktop file describing the service.</qt>"));
addServiceAction->plug( m_button3 );
TQToolTip::add( m_button4, tr2i18n( "Add Application..."));
- addApplicationAction = new AutoToolsAction( i18n( "Add Application..." ), "window-new", 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotAddApplication() ), actions, "add application" );
+ addApplicationAction = new AutoToolsAction( i18n( "Add Application..." ), "window-new", 0, this,
+ TQ_SLOT( slotAddApplication() ), actions, "add application" );
addApplicationAction->setWhatsThis(i18n("<qt><b>Add application</b><p>Creates an application .desktop file.</qt>"));
addApplicationAction->plug( m_button4 );
TQToolTip::add( m_button5, tr2i18n( "Build"));
- buildSubprojectAction = new AutoToolsAction( i18n( "Build" ), "launch", 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotBuildSubproject() ), actions, "build subproject" );
+ buildSubprojectAction = new AutoToolsAction( i18n( "Build" ), "launch", 0, this,
+ TQ_SLOT( slotBuildSubproject() ), actions, "build subproject" );
buildSubprojectAction->setWhatsThis(i18n("<qt><b>Build</b><p>Runs <b>make</b> from the directory of "
"the selected subproject.<br> Environment variables and "
"make arguments can be specified in the project settings "
"dialog, <b>Make Options</b> tab.</qt>"));
buildSubprojectAction->plug( m_button5 );
- forceReeditSubprojectAction = new TDEAction( i18n( "Force Reedit" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotForceReeditSubproject() ), actions, "force-reedit subproject" );
+ forceReeditSubprojectAction = new TDEAction( i18n( "Force Reedit" ), 0, 0, this,
+ TQ_SLOT( slotForceReeditSubproject() ), actions, "force-reedit subproject" );
forceReeditSubprojectAction->setWhatsThis(i18n("<qt><b>Force Reedit</b><p>Runs <b>make force-reedit</b> "
"from the directory of the selected subproject.<br>This "
"recreates makefile (tip: and solves most of .moc related "
@@ -238,21 +238,21 @@ void AutoSubprojectView::initActions()
if (!m_part->isKDE())
forceReeditSubprojectAction->setEnabled(false);
- cleanSubprojectAction = new TDEAction( i18n( "Clean" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotCleanSubproject() ), actions, "clean subproject" );
+ cleanSubprojectAction = new TDEAction( i18n( "Clean" ), 0, 0, this,
+ TQ_SLOT( slotCleanSubproject() ), actions, "clean subproject" );
cleanSubprojectAction->setWhatsThis(i18n("<qt><b>Clean</b><p>Runs <b>make clean</b> from the directory of "
"the selected subproject.<br> Environment variables and make "
"arguments can be specified in the project settings dialog, "
"<b>Make Options</b> tab.</qt>"));
- installSubprojectAction = new TDEAction( i18n( "Install" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotInstallSubproject() ), actions, "install subproject" );
+ installSubprojectAction = new TDEAction( i18n( "Install" ), 0, 0, this,
+ TQ_SLOT( slotInstallSubproject() ), actions, "install subproject" );
installSubprojectAction->setWhatsThis(i18n("<qt><b>Install</b><p>Runs <b>make install</b> from the directory "
"of the selected subproject.<br> Environment variables and "
"make arguments can be specified in the project settings "
"dialog, <b>Make Options</b> tab.</qt>"));
installSuSubprojectAction = new TDEAction( i18n( "Install (as root user)" ), 0, 0,
- TQT_TQOBJECT(this), TQT_SLOT( slotInstallSuSubproject() ), actions, "install subproject as root" );
+ this, TQ_SLOT( slotInstallSuSubproject() ), actions, "install subproject as root" );
installSuSubprojectAction->setWhatsThis(i18n("<qt><b>Install as root user</b><p>Runs <b>make install</b> "
"command from the directory of the selected subproject "
"with root privileges.<br> It is executed via tdesu "
@@ -260,19 +260,19 @@ void AutoSubprojectView::initActions()
"can be specified in the project settings dialog, "
"<b>Make Options</b> tab.</qt>"));
- expandAction = new TDEAction( i18n( "Expand Subtree" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT(slotExpandTree()), actions, "expandAction" );
- collapseAction = new TDEAction( i18n( "Collapse Subtree" ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT(slotCollapseTree()), actions, "collapseAction" );
+ expandAction = new TDEAction( i18n( "Expand Subtree" ), 0, 0, this,
+ TQ_SLOT(slotExpandTree()), actions, "expandAction" );
+ collapseAction = new TDEAction( i18n( "Collapse Subtree" ), 0, 0, this,
+ TQ_SLOT(slotCollapseTree()), actions, "collapseAction" );
- otherAction = new TDEAction( i18n( "Manage Custom Commands..." ), 0, 0, TQT_TQOBJECT(this),
- TQT_SLOT( slotManageBuildCommands() ), actions, "manage custom commands" );
+ otherAction = new TDEAction( i18n( "Manage Custom Commands..." ), 0, 0, this,
+ TQ_SLOT( slotManageBuildCommands() ), actions, "manage custom commands" );
otherAction->setWhatsThis(i18n("<qt><b>Manage custom commands</b><p>Allows to create, edit and "
"delete custom build commands which appears in the subproject "
"context menu.<br></qt>"));
- connect( m_listView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
- this, TQT_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
+ connect( m_listView, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
+ this, TQ_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
}
void AutoSubprojectView::slotContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p )
@@ -315,7 +315,7 @@ void AutoSubprojectView::slotContextMenu( TDEListView *, TQListViewItem *item, c
popup.insertSeparator();
separate = false;
}
- int id = popup.insertItem(it.key(), this, TQT_SLOT(slotCustomBuildCommand(int)));
+ int id = popup.insertItem(it.key(), this, TQ_SLOT(slotCustomBuildCommand(int)));
m_commandList.append(it.data());
popup.setItemParameter(id, m_commandList.findIndex(it.data()));
}
@@ -466,7 +466,7 @@ void AutoSubprojectView::slotRemoveSubproject()
}
parent->listView()->setSelected( parent, true );
- kapp->processEvents( 500 );
+ tdeApp->processEvents( 500 );
if( removeSources ){
diff --git a/buildtools/autotools/autotoolsaction.cpp b/buildtools/autotools/autotoolsaction.cpp
index c520a3de..66fe9f08 100644
--- a/buildtools/autotools/autotoolsaction.cpp
+++ b/buildtools/autotools/autotoolsaction.cpp
@@ -104,13 +104,13 @@ int AutoToolsAction::plug( TQWidget* w, int index )
}
// Check if action is permitted
- if (kapp && !kapp->authorizeTDEAction(name()))
+ if (tdeApp && !tdeApp->authorizeTDEAction(name()))
return -1;
if ( ::tqt_cast<TQToolButton*>( w ) )
{
TQToolButton* tb = static_cast<TQToolButton*>( w );
- connect( tb, TQT_SIGNAL( clicked() ), this, TQT_SLOT( activate() ) );
+ connect( tb, TQ_SIGNAL( clicked() ), this, TQ_SLOT( activate() ) );
int id = getToolButtonID();
if ( !icon().isEmpty() )
diff --git a/buildtools/autotools/choosetargetdialog.cpp b/buildtools/autotools/choosetargetdialog.cpp
index fc67a82e..112a3668 100644
--- a/buildtools/autotools/choosetargetdialog.cpp
+++ b/buildtools/autotools/choosetargetdialog.cpp
@@ -31,7 +31,7 @@
#include <kdebug.h>
#include <tdelistview.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <ksqueezedtextlabel.h>
#include <kurl.h>
@@ -138,10 +138,10 @@ ChooseTargetDialog::ChooseTargetDialog ( AutoProjectWidget* widget, AutoProjectP
d->baseUI->newFileList->insertItem( new TQListViewItem( d->baseUI->newFileList, fileName ) );
}
- connect ( d->baseUI->subprojectComboBox, TQT_SIGNAL ( activated ( const TQString& ) ),
- this, TQT_SLOT( slotSubprojectChanged ( const TQString& ) ) );
- connect ( d->baseUI->targetComboBox, TQT_SIGNAL ( activated ( const TQString& ) ),
- this, TQT_SLOT( slotTargetChanged ( const TQString& ) ) );
+ connect ( d->baseUI->subprojectComboBox, TQ_SIGNAL ( activated ( const TQString& ) ),
+ this, TQ_SLOT( slotSubprojectChanged ( const TQString& ) ) );
+ connect ( d->baseUI->targetComboBox, TQ_SIGNAL ( activated ( const TQString& ) ),
+ this, TQ_SLOT( slotTargetChanged ( const TQString& ) ) );
}
diff --git a/buildtools/autotools/choosetargetdlgbase.ui b/buildtools/autotools/choosetargetdlgbase.ui
index 9bcddff0..9747faca 100644
--- a/buildtools/autotools/choosetargetdlgbase.ui
+++ b/buildtools/autotools/choosetargetdlgbase.ui
@@ -202,12 +202,12 @@
<tabstop>newFileList</tabstop>
<tabstop>neverAskAgainCheckbox</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">slotActiveTargetToggled(bool)</slot>
<slot access="protected">slotChooseTargetToggled(bool)</slot>
<slot access="private">slotSubprojectChanged(const TQString&amp;)</slot>
<slot access="private">slotTargetChanged(const TQString&amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kcombobox.h</include>
diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp
index 7d03ad3e..33c280f4 100644
--- a/buildtools/autotools/configureoptionswidget.cpp
+++ b/buildtools/autotools/configureoptionswidget.cpp
@@ -72,7 +72,7 @@ public:
ConfigureOptionsWidget::ConfigureOptionsWidget(AutoProjectPart *part, TQWidget *parent, const char *name)
: ConfigureOptionsWidgetBase(parent, name)
{
- config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
m_part = part;
env_groupBox->setColumnLayout( 1, TQt::Vertical );
@@ -237,7 +237,7 @@ void ConfigureOptionsWidget::saveSettings(const TQString &config)
DomUtil::writeEntry(dom, prefix + "f77flags", f77flags_edit->text());
if (KMessageBox::questionYesNo(this, i18n("Re-run configure for %1 now?").arg(config), TQString(), i18n("Rerun"), i18n("Do Not Run")) == KMessageBox::Yes)
- TQTimer::singleShot(0, m_part, TQT_SLOT(slotConfigure()));
+ TQTimer::singleShot(0, m_part, TQ_SLOT(slotConfigure()));
}
@@ -405,7 +405,7 @@ KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin
if (prop.isValid())
args = TQStringList::split(" ", prop.toString());
- TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(),
+ TQObject *obj = factory->create(this, service->name().latin1(),
"KDevCompilerOptions", args);
if (!obj->inherits("KDevCompilerOptions")) {
diff --git a/buildtools/autotools/configureoptionswidgetbase.ui b/buildtools/autotools/configureoptionswidgetbase.ui
index a8821504..3392c6a5 100644
--- a/buildtools/autotools/configureoptionswidgetbase.ui
+++ b/buildtools/autotools/configureoptionswidgetbase.ui
@@ -1014,7 +1014,7 @@ headers in a nonstandard directory &lt;include dir&gt;</string>
<tabstop>f77flags_edit</tabstop>
<tabstop>f77flags_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">builddirClicked()</slot>
<slot access="protected">cflagsClicked()</slot>
<slot access="protected">configAdded()</slot>
@@ -1028,7 +1028,7 @@ headers in a nonstandard directory &lt;include dir&gt;</string>
<slot access="protected">f77serviceChanged()</slot>
<slot access="protected">setDirty()</slot>
<slot access="protected">topsourcedirClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/fileselectorwidget.cpp b/buildtools/autotools/fileselectorwidget.cpp
index 85bb32c0..b4bc9e39 100644
--- a/buildtools/autotools/fileselectorwidget.cpp
+++ b/buildtools/autotools/fileselectorwidget.cpp
@@ -119,20 +119,20 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode,
lo->addWidget(filterBox);
// slots and signals
- connect( filter, TQT_SIGNAL( textChanged(const TQString&) ), TQT_SLOT( slotFilterChanged(const TQString&) ) );
- connect( filter, TQT_SIGNAL( activated(const TQString&) ), TQT_SLOT( slotFilterChanged(const TQString&) ) );
- connect( filter, TQT_SIGNAL( returnPressed(const TQString&) ), TQT_SLOT( filterReturnPressed(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( textChanged(const TQString&) ), TQ_SLOT( slotFilterChanged(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( activated(const TQString&) ), TQ_SLOT( slotFilterChanged(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( returnPressed(const TQString&) ), TQ_SLOT( filterReturnPressed(const TQString&) ) );
- connect( home, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( home() ) );
- connect( up, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( cdUp() ) );
- connect( back, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( back() ) );
- connect( forward, TQT_SIGNAL( clicked() ), dir, TQT_SLOT( forward() ) );
+ connect( home, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( home() ) );
+ connect( up, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( cdUp() ) );
+ connect( back, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( back() ) );
+ connect( forward, TQ_SIGNAL( clicked() ), dir, TQ_SLOT( forward() ) );
- connect( cmbPath, TQT_SIGNAL( urlActivated( const KURL& )), this, TQT_SLOT( cmbPathActivated( const KURL& ) ));
- //connect( cmbPath, TQT_SIGNAL( returnPressed( const TQString& )), this, TQT_SLOT( cmbPathReturnPressed( const TQString& ) ));
- connect( dir, TQT_SIGNAL(urlEntered(const KURL&)), this, TQT_SLOT(dirUrlEntered(const KURL&)) );
+ connect( cmbPath, TQ_SIGNAL( urlActivated( const KURL& )), this, TQ_SLOT( cmbPathActivated( const KURL& ) ));
+ //connect( cmbPath, TQ_SIGNAL( returnPressed( const TQString& )), this, TQ_SLOT( cmbPathReturnPressed( const TQString& ) ));
+ connect( dir, TQ_SIGNAL(urlEntered(const KURL&)), this, TQ_SLOT(dirUrlEntered(const KURL&)) );
- connect( dir, TQT_SIGNAL(finishedLoading()), this, TQT_SLOT(dirFinishedLoading()) );
+ connect( dir, TQ_SIGNAL(finishedLoading()), this, TQ_SLOT(dirFinishedLoading()) );
// dirUrlEntered( dir->url() );
diff --git a/buildtools/autotools/managecustomcommandsbase.ui b/buildtools/autotools/managecustomcommandsbase.ui
index eab430e9..9088ba07 100644
--- a/buildtools/autotools/managecustomcommandsbase.ui
+++ b/buildtools/autotools/managecustomcommandsbase.ui
@@ -117,9 +117,9 @@
<tabstop>addButton</tabstop>
<tabstop>removeButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>addButton_clicked()</slot>
<slot>removeButton_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/buildtools/autotools/misc.cpp b/buildtools/autotools/misc.cpp
index 6c4bac8c..a18fbf5d 100644
--- a/buildtools/autotools/misc.cpp
+++ b/buildtools/autotools/misc.cpp
@@ -72,7 +72,7 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec
TQString AutoProjectTool::execFlagsDialog( const TQString &compiler, const TQString &flags, TQWidget *parent )
{
- KDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) );
+ KDevCompilerOptions * plugin = createCompilerOptions( compiler, parent );
if ( plugin )
{
diff --git a/buildtools/autotools/removefiledlg.cpp b/buildtools/autotools/removefiledlg.cpp
index e265a969..5b173a54 100644
--- a/buildtools/autotools/removefiledlg.cpp
+++ b/buildtools/autotools/removefiledlg.cpp
@@ -75,8 +75,8 @@ RemoveFileDialog::RemoveFileDialog(AutoProjectWidget *widget, AutoProjectPart* p
else
targetLabel->setText ( item->name );
- connect ( removeButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( accept() ) );
- connect ( cancelButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( reject() ) );
+ connect ( removeButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( accept() ) );
+ connect ( cancelButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( reject() ) );
setIcon ( SmallIcon ( "editdelete.png" ) );
diff --git a/buildtools/autotools/removetargetdlg.cpp b/buildtools/autotools/removetargetdlg.cpp
index c9068ec8..fc88c913 100644
--- a/buildtools/autotools/removetargetdlg.cpp
+++ b/buildtools/autotools/removetargetdlg.cpp
@@ -53,8 +53,8 @@ RemoveTargetDialog::RemoveTargetDialog( AutoProjectWidget *widget, AutoProjectPa
else
targetLabel->setText ( titem->name );
- connect ( removeButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( accept() ) );
- connect ( cancelButton, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( reject() ) );
+ connect ( removeButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( accept() ) );
+ connect ( cancelButton, TQ_SIGNAL ( clicked() ), this, TQ_SLOT ( reject() ) );
setIcon ( SmallIcon ( "edit-delete" ) );
diff --git a/buildtools/autotools/subprojectoptionsdlg.cpp b/buildtools/autotools/subprojectoptionsdlg.cpp
index bff524bb..1a12453f 100644
--- a/buildtools/autotools/subprojectoptionsdlg.cpp
+++ b/buildtools/autotools/subprojectoptionsdlg.cpp
@@ -79,7 +79,7 @@ SubprojectOptionsDialog::SubprojectOptionsDialog(AutoProjectPart *part, AutoProj
prefix_listview->setSorting(-1);
buildorder_listview->setSorting(-1);
- connect( prefix_listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), this, TQT_SLOT( editPrefixClicked() ) );
+ connect( prefix_listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), this, TQ_SLOT( editPrefixClicked() ) );
// Insert all subdirectories as possible include directories
TQStringList l = widget->allSubprojects();
diff --git a/buildtools/autotools/subprojectoptionsdlgbase.ui b/buildtools/autotools/subprojectoptionsdlgbase.ui
index d417e73b..90059f0a 100644
--- a/buildtools/autotools/subprojectoptionsdlgbase.ui
+++ b/buildtools/autotools/subprojectoptionsdlgbase.ui
@@ -964,7 +964,7 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">buildorderMoveDownClicked()</slot>
<slot access="protected">cflagsClicked()</slot>
<slot access="protected">cxxFlagsClicked()</slot>
@@ -980,7 +980,7 @@
<slot access="protected">removePrefixClicked()</slot>
<slot access="private">addPrefixClicked()</slot>
<slot access="private">editPrefixClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/targetoptionsdlg.cpp b/buildtools/autotools/targetoptionsdlg.cpp
index ac2767a7..f19f1873 100644
--- a/buildtools/autotools/targetoptionsdlg.cpp
+++ b/buildtools/autotools/targetoptionsdlg.cpp
@@ -133,7 +133,7 @@ void TargetOptionsDialog::readConfig()
clitem = static_cast<TQCheckListItem*>(clitem->nextSibling());
}
}
- if ( inlistItem == false ) {
+ if ( !inlistItem ) {
TQListViewItem *item = new TQListViewItem(outsidelib_listview, *l2it);
if (lastItem)
item->moveItem(lastItem);
diff --git a/buildtools/autotools/targetoptionsdlgbase.ui b/buildtools/autotools/targetoptionsdlgbase.ui
index 2fad9db1..ea5d4738 100644
--- a/buildtools/autotools/targetoptionsdlgbase.ui
+++ b/buildtools/autotools/targetoptionsdlgbase.ui
@@ -700,7 +700,7 @@
<tabstop>okbutton</tabstop>
<tabstop>cancelbutton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">insideMoveDownClicked()</slot>
<slot access="protected">insideMoveUpClicked()</slot>
<slot access="protected">outsideAddClicked()</slot>
@@ -708,7 +708,7 @@
<slot access="protected">outsideMoveDownClicked()</slot>
<slot access="protected">outsideMoveUpClicked()</slot>
<slot access="protected">outsideRemoveClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/autotools/tdefilednddetailview.cpp b/buildtools/autotools/tdefilednddetailview.cpp
index c4b4f504..fc8ab08a 100644
--- a/buildtools/autotools/tdefilednddetailview.cpp
+++ b/buildtools/autotools/tdefilednddetailview.cpp
@@ -191,9 +191,9 @@ void KFileDnDDetailView::setAutoOpenTime( const int& time ){
void KFileDnDDetailView::useAutoOpenTimer( bool use ){
m_useAutoOpenTimer = use;
if( use )
- connect( &m_autoOpenTimer, TQT_SIGNAL( timeout() ),this, TQT_SLOT( slotOpenFolder() ) );
+ connect( &m_autoOpenTimer, TQ_SIGNAL( timeout() ),this, TQ_SLOT( slotOpenFolder() ) );
else {
- disconnect( &m_autoOpenTimer, TQT_SIGNAL( timeout() ),this, TQT_SLOT( slotOpenFolder() ) );
+ disconnect( &m_autoOpenTimer, TQ_SIGNAL( timeout() ),this, TQ_SLOT( slotOpenFolder() ) );
m_dropItem = 0L;
m_autoOpenTimer.stop();
}
diff --git a/buildtools/autotools/tdefiledndiconview.cpp b/buildtools/autotools/tdefiledndiconview.cpp
index f1f9afae..5109f2c8 100644
--- a/buildtools/autotools/tdefiledndiconview.cpp
+++ b/buildtools/autotools/tdefiledndiconview.cpp
@@ -168,9 +168,9 @@ void KFileDnDIconView::setAutoOpenTime( const int& time ){
void KFileDnDIconView::useAutoOpenTimer( bool use ){
m_useAutoOpenTimer = use;
if ( use )
- connect( &m_autoOpenTimer, TQT_SIGNAL( timeout() ),this, TQT_SLOT( slotOpenFolder() ) );
+ connect( &m_autoOpenTimer, TQ_SIGNAL( timeout() ),this, TQ_SLOT( slotOpenFolder() ) );
else {
- disconnect( &m_autoOpenTimer, TQT_SIGNAL( timeout() ),this, TQT_SLOT( slotOpenFolder() ) );
+ disconnect( &m_autoOpenTimer, TQ_SIGNAL( timeout() ),this, TQ_SLOT( slotOpenFolder() ) );
m_dropItem = 0L;
m_autoOpenTimer.stop();
}
diff --git a/buildtools/custommakefiles/custombuildoptionswidget.cpp b/buildtools/custommakefiles/custombuildoptionswidget.cpp
index 74c0d08f..f36dc78a 100644
--- a/buildtools/custommakefiles/custombuildoptionswidget.cpp
+++ b/buildtools/custommakefiles/custombuildoptionswidget.cpp
@@ -44,10 +44,10 @@ CustomBuildOptionsWidget::CustomBuildOptionsWidget(TQDomDocument &dom,
// This connection must not be made before the ant->setChecked() line,
// because at this time makeToggled() would crash
- connect( make_button, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(makeToggled(bool)) );
- connect( other_button, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(otherToggled(bool)) );
+ connect( make_button, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(makeToggled(bool)) );
+ connect( other_button, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(otherToggled(bool)) );
}
diff --git a/buildtools/custommakefiles/custombuildoptionswidgetbase.ui b/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
index 2b1bfdff..0e1658ea 100644
--- a/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
+++ b/buildtools/custommakefiles/custombuildoptionswidgetbase.ui
@@ -144,10 +144,10 @@
</spacer>
</vbox>
</widget>
-<Q_SLOTS>
+<slots>
<slot access="protected">makeToggled(bool)</slot>
<slot access="protected">otherToggled(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/custommakefiles/custommakeconfigwidget.cpp b/buildtools/custommakefiles/custommakeconfigwidget.cpp
index ceebb999..10855e60 100644
--- a/buildtools/custommakefiles/custommakeconfigwidget.cpp
+++ b/buildtools/custommakefiles/custommakeconfigwidget.cpp
@@ -43,7 +43,7 @@ CustomMakeConfigWidget::CustomMakeConfigWidget(CustomProjectPart* part, const TQ
defaultTarget_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/make/defaulttarget"));
makeoptions_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/make/makeoptions"));
- envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D[^\\s]*"), TQT_TQOBJECT(this)));
+ envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D[^\\s]*"), this));
m_allEnvironments = m_part->allMakeEnvironments();
m_currentEnvironment = m_part->currentMakeEnvironment();
env_var_group->setColumnLayout( 1, TQt::Vertical );
diff --git a/buildtools/custommakefiles/custommakeconfigwidgetbase.ui b/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
index cae0a6e0..47d23c9b 100644
--- a/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
+++ b/buildtools/custommakefiles/custommakeconfigwidgetbase.ui
@@ -375,13 +375,13 @@
<tabstop>copyenvs_button</tabstop>
<tabstop>removeenvs_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">envNameChanged(const TQString &amp;)</slot>
<slot access="protected">envChanged(const TQString&amp;)</slot>
<slot access="protected">envAdded()</slot>
<slot access="protected">envRemoved()</slot>
<slot access="protected">envCopied()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/custommakefiles/custommanagerwidget.cpp b/buildtools/custommakefiles/custommanagerwidget.cpp
index 9dfad3e5..1500995d 100644
--- a/buildtools/custommakefiles/custommanagerwidget.cpp
+++ b/buildtools/custommakefiles/custommanagerwidget.cpp
@@ -44,7 +44,7 @@ CustomManagerWidget::CustomManagerWidget( CustomProjectPart* part, TQWidget* par
m_blacklistBox->setButtons( KEditListBox::Add | KEditListBox::Remove );
m_blacklistBox->insertStringList( DomUtil::readListEntry( m_dom, "kdevcustomproject/blacklist","path") );
grid->addWidget( m_blacklistBox, 0, 1 );
- connect(m_blacklistBox, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(checkUrl(const TQString&)));
+ connect(m_blacklistBox, TQ_SIGNAL(added(const TQString&)), this, TQ_SLOT(checkUrl(const TQString&)));
}
void CustomManagerWidget::checkUrl(const TQString& url)
diff --git a/buildtools/custommakefiles/customotherconfigwidget.cpp b/buildtools/custommakefiles/customotherconfigwidget.cpp
index c7778a74..012dfd36 100644
--- a/buildtools/custommakefiles/customotherconfigwidget.cpp
+++ b/buildtools/custommakefiles/customotherconfigwidget.cpp
@@ -38,7 +38,7 @@ CustomOtherConfigWidget::CustomOtherConfigWidget(CustomProjectPart* part, const
defaultTarget_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/other/defaulttarget"));
makeoptions_edit->setText(DomUtil::readEntry(m_dom, m_configGroup + "/other/otheroptions"));
- envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ envs_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
m_allEnvironments = m_part->allMakeEnvironments();
m_currentEnvironment = m_part->currentMakeEnvironment();
env_var_group->setColumnLayout( 1, TQt::Vertical );
diff --git a/buildtools/custommakefiles/customotherconfigwidgetbase.ui b/buildtools/custommakefiles/customotherconfigwidgetbase.ui
index 3f7290af..60f4adbc 100644
--- a/buildtools/custommakefiles/customotherconfigwidgetbase.ui
+++ b/buildtools/custommakefiles/customotherconfigwidgetbase.ui
@@ -276,13 +276,13 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">envNameChanged(const TQString &amp;)</slot>
<slot access="protected">envChanged(const TQString&amp;)</slot>
<slot access="protected">envAdded()</slot>
<slot access="protected">envRemoved()</slot>
<slot access="protected">envCopied()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp
index cbbb4315..3afa0ff6 100644
--- a/buildtools/custommakefiles/customprojectpart.cpp
+++ b/buildtools/custommakefiles/customprojectpart.cpp
@@ -39,7 +39,7 @@
#include <tdeparts/part.h>
#include <tdepopupmenu.h>
#include <tdeversion.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "domutil.h"
#include "kdevcore.h"
@@ -76,12 +76,12 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
TDEAction *action;
- action = new TDEAction( i18n( "Re-Populate Project" ), 0, this, TQT_SLOT( populateProject() ), actionCollection(), "repopulate_project" );
+ action = new TDEAction( i18n( "Re-Populate Project" ), 0, this, TQ_SLOT( populateProject() ), actionCollection(), "repopulate_project" );
action->setToolTip( i18n( "Re-Populate Project" ) );
action->setWhatsThis( i18n( "<b>Re-Populate Project</b><p>Re-Populates the project, searching through the project directory and adding all files that match one of the wildcards set in the custom manager options of the project filelist." ) );
action = new TDEAction( i18n( "&Build Project" ), "make_tdevelop", Key_F8,
- this, TQT_SLOT( slotBuild() ),
+ this, TQ_SLOT( slotBuild() ),
actionCollection(), "build_build" );
action->setToolTip( i18n( "Build project" ) );
action->setWhatsThis( i18n( "<b>Build project</b><p>Runs <b>make</b> from the project directory.<br>"
@@ -89,7 +89,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "&Build Active Directory" ), "make_tdevelop", Key_F7,
- this, TQT_SLOT( slotBuildActiveDir() ),
+ this, TQ_SLOT( slotBuildActiveDir() ),
actionCollection(), "build_buildactivetarget" );
action->setToolTip( i18n( "Build active directory" ) );
action->setWhatsThis( i18n( "<b>Build active directory</b><p>Constructs a series of make commands to build the active directory. "
@@ -97,7 +97,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Compile &File" ), "make_tdevelop",
- this, TQT_SLOT( slotCompileFile() ),
+ this, TQ_SLOT( slotCompileFile() ),
actionCollection(), "build_compilefile" );
action->setToolTip( i18n( "Compile file" ) );
action->setWhatsThis( i18n( "<b>Compile file</b><p>Runs <b>make filename.o</b> command from the directory where 'filename' is the name of currently opened file.<br>"
@@ -105,7 +105,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "Install" ), 0,
- this, TQT_SLOT( slotInstall() ),
+ this, TQ_SLOT( slotInstall() ),
actionCollection(), "build_install" );
action->setToolTip( i18n( "Install" ) );
action->setWhatsThis( i18n( "<b>Install</b><p>Runs <b>make install</b> command from the project directory.<br>"
@@ -113,7 +113,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Install Active Directory" ), 0,
- this, TQT_SLOT( slotInstallActiveDir() ),
+ this, TQ_SLOT( slotInstallActiveDir() ),
actionCollection(), "build_installactivetarget" );
action->setToolTip( i18n( "Install active directory" ) );
action->setWhatsThis( i18n( "<b>Install active directory</b><p>Runs <b>make install</b> command from the active directory.<br>"
@@ -121,7 +121,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "Install (as root user)" ), 0,
- this, TQT_SLOT( slotInstallWithKdesu() ),
+ this, TQ_SLOT( slotInstallWithKdesu() ),
actionCollection(), "build_install_tdesu" );
action->setToolTip( i18n( "Install as root user" ) );
action->setWhatsThis( i18n( "<b>Install</b><p>Runs <b>make install</b> command from the project directory with root privileges.<br>"
@@ -130,7 +130,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Make Options</b> tab." ) );
action = new TDEAction( i18n( "&Clean Project" ), 0,
- this, TQT_SLOT( slotClean() ),
+ this, TQ_SLOT( slotClean() ),
actionCollection(), "build_clean" );
action->setToolTip( i18n( "Clean project" ) );
action->setWhatsThis( i18n( "<b>Clean project</b><p>Runs <b>make clean</b> command from the project directory.<br>"
@@ -138,7 +138,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"in the project settings dialog, <b>Build Options</b> tab." ) );
action = new TDEAction( i18n( "Execute Program" ), "application-x-executable", 0,
- this, TQT_SLOT( slotExecute() ),
+ this, TQ_SLOT( slotExecute() ),
actionCollection(), "build_execute" );
action->setToolTip( i18n( "Execute program" ) );
action->setWhatsThis( i18n( "<b>Execute program</b><p>Executes the main program specified in project settings, <b>Run Options</b> tab. "
@@ -162,27 +162,27 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const
"Environment variables can be specified in the project "
"settings dialog, <b>Build Options</b> tab." ) );
- connect( m_targetMenu, TQT_SIGNAL( aboutToShow() ),
- this, TQT_SLOT( updateTargetMenu() ) );
- connect( m_targetMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetMenuActivated( int ) ) );
- connect( m_targetObjectFilesMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetObjectFilesMenuActivated( int ) ) );
- connect( m_targetOtherFilesMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( targetOtherFilesMenuActivated( int ) ) );
- connect( m_makeEnvironmentsSelector->popupMenu(), TQT_SIGNAL( aboutToShow() ),
- this, TQT_SLOT( updateMakeEnvironmentsMenu() ) );
- connect( m_makeEnvironmentsSelector->popupMenu(), TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( makeEnvironmentsMenuActivated( int ) ) );
- connect( core(), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ),
- this, TQT_SLOT( projectConfigWidget( KDialogBase* ) ) );
- connect( core(), TQT_SIGNAL( contextMenu( TQPopupMenu *, const Context * ) ),
- this, TQT_SLOT( contextMenu( TQPopupMenu *, const Context * ) ) );
-
- connect( makeFrontend(), TQT_SIGNAL( commandFinished( const TQString& ) ),
- this, TQT_SLOT( slotCommandFinished( const TQString& ) ) );
- connect( makeFrontend(), TQT_SIGNAL( commandFailed( const TQString& ) ),
- this, TQT_SLOT( slotCommandFailed( const TQString& ) ) );
+ connect( m_targetMenu, TQ_SIGNAL( aboutToShow() ),
+ this, TQ_SLOT( updateTargetMenu() ) );
+ connect( m_targetMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetMenuActivated( int ) ) );
+ connect( m_targetObjectFilesMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetObjectFilesMenuActivated( int ) ) );
+ connect( m_targetOtherFilesMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( targetOtherFilesMenuActivated( int ) ) );
+ connect( m_makeEnvironmentsSelector->popupMenu(), TQ_SIGNAL( aboutToShow() ),
+ this, TQ_SLOT( updateMakeEnvironmentsMenu() ) );
+ connect( m_makeEnvironmentsSelector->popupMenu(), TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( makeEnvironmentsMenuActivated( int ) ) );
+ connect( core(), TQ_SIGNAL( projectConfigWidget( KDialogBase* ) ),
+ this, TQ_SLOT( projectConfigWidget( KDialogBase* ) ) );
+ connect( core(), TQ_SIGNAL( contextMenu( TQPopupMenu *, const Context * ) ),
+ this, TQ_SLOT( contextMenu( TQPopupMenu *, const Context * ) ) );
+
+ connect( makeFrontend(), TQ_SIGNAL( commandFinished( const TQString& ) ),
+ this, TQ_SLOT( slotCommandFinished( const TQString& ) ) );
+ connect( makeFrontend(), TQ_SIGNAL( commandFailed( const TQString& ) ),
+ this, TQ_SLOT( slotCommandFailed( const TQString& ) ) );
}
@@ -195,26 +195,26 @@ void CustomProjectPart::projectConfigWidget( KDialogBase *dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage( i18n( "Custom Manager" ), i18n( "Custom Manager" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
CustomManagerWidget *w0 = new CustomManagerWidget( this, vbox );
- connect( dlg, TQT_SIGNAL( okClicked() ), w0, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w0, TQ_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Run Options" ), i18n( "Run Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
RunOptionsWidget *w1 = new RunOptionsWidget( *projectDom(), "/kdevcustomproject", buildDirectory(), vbox );
- connect( dlg, TQT_SIGNAL( okClicked() ), w1, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w1, TQ_SLOT( accept() ) );
vbox = dlg->addVBoxPage( i18n( "Build Options" ), i18n( "Build Options" ), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ) );
TQTabWidget *buildtab = new TQTabWidget( vbox );
CustomBuildOptionsWidget *w2 = new CustomBuildOptionsWidget( *projectDom(), buildtab );
- connect( dlg, TQT_SIGNAL( okClicked() ), w2, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w2, TQ_SLOT( accept() ) );
buildtab->addTab( w2, i18n( "&Build" ) );
CustomOtherConfigWidget *w4 = new CustomOtherConfigWidget( this, "/kdevcustomproject", buildtab );
- connect( dlg, TQT_SIGNAL( okClicked() ), w4, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w4, TQ_SLOT( accept() ) );
buildtab->addTab( w4, i18n( "&Other" ) );
CustomMakeConfigWidget *w3 = new CustomMakeConfigWidget( this, "/kdevcustomproject", buildtab );
buildtab->addTab( w3, i18n( "Ma&ke" ) );
w2->setMakeOptionsWidget( buildtab, w3, w4 );
- connect( dlg, TQT_SIGNAL( okClicked() ), w3, TQT_SLOT( accept() ) );
+ connect( dlg, TQ_SIGNAL( okClicked() ), w3, TQ_SLOT( accept() ) );
}
@@ -241,7 +241,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
m_contextDirName = fcontext->urls().first().path();
m_contextDirName = m_contextDirName.mid( project()->projectDirectory().length() + 1 );
int id = popup->insertItem( i18n( "Make Active Directory" ),
- this, TQT_SLOT( slotChooseActiveDirectory() ) );
+ this, TQ_SLOT( slotChooseActiveDirectory() ) );
popup->setWhatsThis( id, i18n( "<b>Make active directory</b><p>"
"Chooses this directory as the destination for new files created using wizards "
"like the <i>New Class</i> wizard." ) );
@@ -257,7 +257,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( isInBlacklist( m_contextDirName ) )
{
id = popup->insertItem( i18n( "Remove from blacklist" ),
- this, TQT_SLOT( slotChangeBlacklist() ) );
+ this, TQ_SLOT( slotChangeBlacklist() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from blacklist</b><p>"
"Removes the given file or directory from the "
"blacklist if it is already in it.<br>The blacklist contains files and"
@@ -267,7 +267,7 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
else
{
id = popup->insertItem( i18n( "Add to blacklist" ),
- this, TQT_SLOT( slotChangeBlacklist() ) );
+ this, TQ_SLOT( slotChangeBlacklist() ) );
popup->setWhatsThis( id, i18n( "<b>Add to blacklist</b><p>"
"Adds the given file or directory to the blacklist.<br>The blacklist contains files and"
" directories that should be ignored even if they match a project filetype "
@@ -317,13 +317,13 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( m_contextAddFiles.size() > 0 )
{
int id = popup->insertItem( i18n( "Add Selected File/Dir(s) to Project" ),
- this, TQT_SLOT( slotAddToProject() ) );
+ this, TQ_SLOT( slotAddToProject() ) );
popup->setWhatsThis( id, i18n( "<b>Add to project</b><p>Adds selected file/dir(s) to the list of files in the project. "
"Note that the files should be manually added to the corresponding makefile or build.xml." ) );
if ( dirAddRecursive )
{
int id = popup->insertItem( i18n( "Add Selected Dir(s) to Project (recursive)" ),
- this, TQT_SLOT( slotAddToProjectRecursive() ) );
+ this, TQ_SLOT( slotAddToProjectRecursive() ) );
popup->setWhatsThis( id, i18n( "<b>Add to project</b><p>Recursively adds selected dir(s) to the list of files in the project. "
"Note that the files should be manually added to the corresponding makefile or build.xml." ) );
}
@@ -332,14 +332,14 @@ void CustomProjectPart::contextMenu( TQPopupMenu *popup, const Context *context
if ( m_contextRemoveFiles.size() > 0 )
{
int id = popup->insertItem( i18n( "Remove Selected File/Dir(s) From Project" ),
- this, TQT_SLOT( slotRemoveFromProject() ) );
+ this, TQ_SLOT( slotRemoveFromProject() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from project</b><p>Removes selected file/dir(s) from the list of files in the project. "
"Note that the files should be manually excluded from the corresponding makefile or build.xml." ) );
if ( dirDelRecursive )
{
int id = popup->insertItem( i18n( "Remove Selected Dir(s) From Project (recursive)" ),
- this, TQT_SLOT( slotRemoveFromProjectRecursive() ) );
+ this, TQ_SLOT( slotRemoveFromProjectRecursive() ) );
popup->setWhatsThis( id, i18n( "<b>Remove from project</b><p>Recursively removes selected dir(s) from the list of files in the project. "
"Note that the files should be manually excluded from the corresponding makefile or build.xml." ) );
}
@@ -884,7 +884,7 @@ TQString CustomProjectPart::makeEnvironment() const
environstr += " ";
}
- TDEConfigGroup grp( kapp->config(), "MakeOutputView" );
+ TDEConfigGroup grp( tdeApp->config(), "MakeOutputView" );
if( grp.readBoolEntry( "ForceCLocale", true ) )
environstr += "LC_MESSAGES=" + EnvVarTools::quote( "C" )+" "+" "+"LC_CTYPE="+EnvVarTools::quote("C")+" ";
@@ -894,7 +894,7 @@ TQString CustomProjectPart::makeEnvironment() const
void CustomProjectPart::startMakeCommand( const TQString &dir, const TQString &target, bool withKdesu )
{
- if ( partController()->saveAllFiles() == false )
+ if ( !partController()->saveAllFiles() )
return; //user cancelled
TQDomDocument &dom = *projectDom();
@@ -1002,8 +1002,8 @@ void CustomProjectPart::slotCompileFile()
//if there is no Makefile in the directory of the source file
//try to build it from the main build dir
//this works e.g. for non-recursive cmake Makefiles, Alex
- if ( buildtool == "make" && ( TQFile::exists( sourceDir + "/Makefile" ) == false )
- && ( TQFile::exists( sourceDir + "/makefile" ) == false ) )
+ if ( buildtool == "make" && !TQFile::exists( sourceDir + "/Makefile" )
+ && !TQFile::exists( sourceDir + "/makefile" ) )
{
buildDir = buildDirectory();
}
diff --git a/buildtools/lib/parsers/autotools/tests/viewerbase.ui b/buildtools/lib/parsers/autotools/tests/viewerbase.ui
index 3fb32462..139f1908 100644
--- a/buildtools/lib/parsers/autotools/tests/viewerbase.ui
+++ b/buildtools/lib/parsers/autotools/tests/viewerbase.ui
@@ -210,11 +210,11 @@
<slot>tabWidget2_selected(const TQString&amp;)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>addAll_clicked()</slot>
<slot>choose_clicked()</slot>
<slot>files_currentChanged(TQListBoxItem*)</slot>
<slot>tabWidget2_selected(const TQString&amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/buildtools/lib/parsers/qmake/tests/viewerbase.ui b/buildtools/lib/parsers/qmake/tests/viewerbase.ui
index ad580b4c..970f6ee8 100644
--- a/buildtools/lib/parsers/qmake/tests/viewerbase.ui
+++ b/buildtools/lib/parsers/qmake/tests/viewerbase.ui
@@ -240,11 +240,11 @@
<slot>tabWidget2_selected(const TQString&amp;)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>addAll_clicked()</slot>
<slot>choose_clicked()</slot>
<slot>files_currentChanged( TQListBoxItem * )</slot>
<slot>tabWidget2_selected( const TQString &amp; )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/buildtools/lib/widgets/addenvvardlg.cpp b/buildtools/lib/widgets/addenvvardlg.cpp
index 8681e0d7..9e7c08b6 100644
--- a/buildtools/lib/widgets/addenvvardlg.cpp
+++ b/buildtools/lib/widgets/addenvvardlg.cpp
@@ -38,13 +38,13 @@ AddEnvvarDialog::AddEnvvarDialog(TQWidget *parent, const char *name)
varname_edit->setFocus();
varname_label->setBuddy(varname_edit);
- connect( varname_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
+ connect( varname_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotTextChanged() ) );
TQLabel *value_label = new TQLabel(i18n("&Value:"), this);
value_edit = new KLineEdit(this);
value_label->setBuddy(value_edit);
TQFontMetrics fm(value_edit->fontMetrics());
value_edit->setMinimumWidth(fm.width('X')*35);
- connect( value_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
+ connect( value_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotTextChanged() ) );
TQVBoxLayout *layout = new TQVBoxLayout(this, 10);
@@ -65,8 +65,8 @@ AddEnvvarDialog::AddEnvvarDialog(TQWidget *parent, const char *name)
m_pOk = buttonbox->addButton( KStdGuiItem::ok());
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
m_pOk->setDefault(true);
- connect( m_pOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( m_pOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
buttonbox->layout();
layout->addWidget(buttonbox, 0);
slotTextChanged();
diff --git a/buildtools/lib/widgets/addfilesdialog.cpp b/buildtools/lib/widgets/addfilesdialog.cpp
index f02d5b56..1508d48d 100644
--- a/buildtools/lib/widgets/addfilesdialog.cpp
+++ b/buildtools/lib/widgets/addfilesdialog.cpp
@@ -28,7 +28,7 @@ AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
TQWidget *parent, const char *name, bool modal):
KFileDialog(startDir, filter, parent, name, modal)
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Add Files Dialog");
m_extraWidget = new TQComboBox(false, this);
@@ -36,7 +36,7 @@ AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
m_extraWidget->insertItem(i18n("Create Symbolic Link(s)"), 1);
m_extraWidget->insertItem(i18n("Add Relative Path(s)"), 2);
m_extraWidget->setCurrentItem(config->readNumEntry("Mode"));
- connect(m_extraWidget, TQT_SIGNAL(activated(int)), this, TQT_SLOT(storePreferred(int)));
+ connect(m_extraWidget, TQ_SIGNAL(activated(int)), this, TQ_SLOT(storePreferred(int)));
setPreviewWidget(m_extraWidget);
@@ -48,14 +48,14 @@ AddFilesDialog::AddFilesDialog(const TQString& startDir, const TQString& filter,
TQWidget *parent, const char *name, bool modal, TQComboBox *extraWidget):
KFileDialog(startDir, filter, parent, name, modal, extraWidget), m_extraWidget(extraWidget)
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Add Files Dialog");
m_extraWidget->insertItem(i18n("Copy File(s)"), 0);
m_extraWidget->insertItem(i18n("Create Symbolic Link(s)"), 1);
m_extraWidget->insertItem(i18n("Add Relative Path(s)"), 2);
m_extraWidget->setCurrentItem(config->readNumEntry("Mode"));
- connect(m_extraWidget, TQT_SIGNAL(activated(int)), this, TQT_SLOT(storePreferred(int)));
+ connect(m_extraWidget, TQ_SIGNAL(activated(int)), this, TQ_SLOT(storePreferred(int)));
setOperationMode(Opening);
}
@@ -72,7 +72,7 @@ AddFilesDialog::Mode AddFilesDialog::mode( )
void AddFilesDialog::storePreferred( int index )
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Add Files Dialog");
config->writeEntry("Mode", index);
}
diff --git a/buildtools/lib/widgets/environmentdisplaydialog.h b/buildtools/lib/widgets/environmentdisplaydialog.h
index 46b4bdb8..46925034 100644
--- a/buildtools/lib/widgets/environmentdisplaydialog.h
+++ b/buildtools/lib/widgets/environmentdisplaydialog.h
@@ -29,7 +29,7 @@ TQ_OBJECT
public:
- EnvironmentDisplayDialog(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ EnvironmentDisplayDialog(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
};
#endif
diff --git a/buildtools/lib/widgets/environmentvariableswidget.cpp b/buildtools/lib/widgets/environmentvariableswidget.cpp
index 3c3e448f..cf06d012 100644
--- a/buildtools/lib/widgets/environmentvariableswidget.cpp
+++ b/buildtools/lib/widgets/environmentvariableswidget.cpp
@@ -72,7 +72,7 @@ EnvironmentVariablesWidget::EnvironmentVariablesWidget(TQDomDocument &dom, const
m_dom(dom), m_configGroup(configGroup)
{
readEnvironment(dom, configGroup);
- connect( listview, TQT_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), this, TQT_SLOT( editVarClicked() ) );
+ connect( listview, TQ_SIGNAL( doubleClicked ( TQListViewItem *, const TQPoint &, int ) ), this, TQ_SLOT( editVarClicked() ) );
}
diff --git a/buildtools/lib/widgets/environmentvariableswidgetbase.ui b/buildtools/lib/widgets/environmentvariableswidgetbase.ui
index e7246de3..53605001 100644
--- a/buildtools/lib/widgets/environmentvariableswidgetbase.ui
+++ b/buildtools/lib/widgets/environmentvariableswidgetbase.ui
@@ -189,12 +189,12 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>addVarClicked()</slot>
<slot>removeVarClicked()</slot>
<slot>editVarClicked()</slot>
<slot>environmentClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/buildtools/lib/widgets/removesubprojectdialog.h b/buildtools/lib/widgets/removesubprojectdialog.h
index 7de20af3..eeae1cd8 100644
--- a/buildtools/lib/widgets/removesubprojectdialog.h
+++ b/buildtools/lib/widgets/removesubprojectdialog.h
@@ -31,7 +31,7 @@ class RemoveSubprojectDialog : public RemoveSubprojectDlgBase
public:
- RemoveSubprojectDialog(TQString caption, TQString question, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ RemoveSubprojectDialog(TQString caption, TQString question, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~RemoveSubprojectDialog();
/*$PUBLIC_FUNCTIONS$*/
bool removeFromDisk();
diff --git a/buildtools/lib/widgets/removesubprojectdlgbase.ui b/buildtools/lib/widgets/removesubprojectdlgbase.ui
index d5206ac6..c9300c18 100644
--- a/buildtools/lib/widgets/removesubprojectdlgbase.ui
+++ b/buildtools/lib/widgets/removesubprojectdlgbase.ui
@@ -145,10 +145,10 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>accept()</slot>
<slot>reject()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/buildtools/lib/widgets/runoptionswidgetbase.ui b/buildtools/lib/widgets/runoptionswidgetbase.ui
index 404af030..27ce6736 100644
--- a/buildtools/lib/widgets/runoptionswidgetbase.ui
+++ b/buildtools/lib/widgets/runoptionswidgetbase.ui
@@ -235,9 +235,9 @@
<tabstop>startinterminal_box</tabstop>
<tabstop>autocompile_box</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>mainProgramChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/lib/widgets/subclassesdlg.h b/buildtools/lib/widgets/subclassesdlg.h
index 75ced25b..5ddec54b 100644
--- a/buildtools/lib/widgets/subclassesdlg.h
+++ b/buildtools/lib/widgets/subclassesdlg.h
@@ -31,7 +31,7 @@ class SubclassesDlg : public SubclassesDlgBase
public:
- SubclassesDlg(TQString form, DomUtil::PairList &config, TQString projectDir, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ SubclassesDlg(TQString form, DomUtil::PairList &config, TQString projectDir, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~SubclassesDlg();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/buildtools/lib/widgets/subclassesdlgbase.ui b/buildtools/lib/widgets/subclassesdlgbase.ui
index a87cbd34..22873790 100644
--- a/buildtools/lib/widgets/subclassesdlgbase.ui
+++ b/buildtools/lib/widgets/subclassesdlgbase.ui
@@ -205,12 +205,12 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">changeCurrentURL(const TQString &amp;str)</slot>
<slot access="protected">removeRelation()</slot>
<slot access="protected">newRelation()</slot>
<slot access="protected">currentRelationChanged(TQListBoxItem *item)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/pascal/pascalproject_optionsdlgbase.ui b/buildtools/pascal/pascalproject_optionsdlgbase.ui
index a6f9321c..3ec7662d 100644
--- a/buildtools/pascal/pascalproject_optionsdlgbase.ui
+++ b/buildtools/pascal/pascalproject_optionsdlgbase.ui
@@ -450,7 +450,7 @@
<tabstop>addconfig_button</tabstop>
<tabstop>removeconfig_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">compiler_box_activated(const TQString&amp;)</slot>
<slot access="protected">addconfig_button_clicked()</slot>
<slot access="protected">configRemoved()</slot>
@@ -460,7 +460,7 @@
<slot access="protected">configAdded()</slot>
<slot access="protected">setDirty()</slot>
<slot access="protected">setDefaultOptions()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/pascal/pascalproject_part.cpp b/buildtools/pascal/pascalproject_part.cpp
index d4670adb..c0bd71f3 100644
--- a/buildtools/pascal/pascalproject_part.cpp
+++ b/buildtools/pascal/pascalproject_part.cpp
@@ -29,7 +29,7 @@
#include <kservice.h>
#include <tdeconfig.h>
#include <tdeversion.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "domutil.h"
#include "kdevcore.h"
@@ -60,23 +60,23 @@ PascalProjectPart::PascalProjectPart(TQObject *parent, const char *name, const T
TDEAction *action;
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
- this, TQT_SLOT(slotBuild()),
+ this, TQ_SLOT(slotBuild()),
actionCollection(), "build_build" );
action->setToolTip(i18n("Build project"));
action->setWhatsThis(i18n("<b>Build project</b><p>Runs the compiler on a main source file of the project. "
"The compiler and the main source file can be set in project settings, <b>Pascal Compiler</b> tab."));
action = new TDEAction( i18n("Execute Program"), "application-x-executable", 0,
- this, TQT_SLOT(slotExecute()),
+ this, TQ_SLOT(slotExecute()),
actionCollection(), "build_execute" );
action->setToolTip(i18n("Execute program"));
action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the main program specified in project settings, <b>Run options</b> tab. "
"If nothing is set, the binary file with the same name as the main source file name is executed."));
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
- this, TQT_SLOT(configWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)),
+ this, TQ_SLOT(configWidget(KDialogBase*)) );
// m_widget = new PascalProjectWidget(this);
@@ -397,12 +397,12 @@ void PascalProjectPart::projectConfigWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Pascal Compiler"));
PascalProjectOptionsDlg *w = new PascalProjectOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(okClicked()), this, TQT_SLOT(loadProjectConfig()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), this, TQ_SLOT(loadProjectConfig()) );
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "text-x-makefile", TDEIcon::SizeMedium ));
RunOptionsWidget *w3 = new RunOptionsWidget(*projectDom(), "/kdevpascalproject", buildDirectory(), vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w3, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w3, TQ_SLOT(accept()) );
}
@@ -433,7 +433,7 @@ void PascalProjectPart::configWidget( KDialogBase * dlg )
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Pascal Compiler"));
PascalGlobalOptionsDlg *w = new PascalGlobalOptionsDlg(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
KDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &name)
diff --git a/buildtools/pascal/pascalprojectoptionsdlg.cpp b/buildtools/pascal/pascalprojectoptionsdlg.cpp
index 9c7c2518..1b96d072 100644
--- a/buildtools/pascal/pascalprojectoptionsdlg.cpp
+++ b/buildtools/pascal/pascalprojectoptionsdlg.cpp
@@ -29,7 +29,7 @@
PascalProjectOptionsDlg::PascalProjectOptionsDlg(PascalProjectPart *part, TQWidget* parent, const char* name, WFlags fl)
: PascalProjectOptionsDlgBase(parent,name, fl), m_part(part)
{
- config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
+ config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), this));
offers = TDETrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'");
diff --git a/buildtools/qmake/choosesubprojectdlg.cpp b/buildtools/qmake/choosesubprojectdlg.cpp
index 22388b2d..f61caaf6 100644
--- a/buildtools/qmake/choosesubprojectdlg.cpp
+++ b/buildtools/qmake/choosesubprojectdlg.cpp
@@ -18,7 +18,7 @@
ChooseSubprojectDlg::ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent, const char* name, bool modal, WFlags fl)
: ChooseSubprojectDlgBase(parent,name, modal,fl), m_widget(widget)
{
- connect(subprojects_view, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(itemSelected(TQListViewItem *)));
+ connect(subprojects_view, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(itemSelected(TQListViewItem *)));
if( m_widget->m_rootSubproject)
{
ChooseItem *it = new ChooseItem(m_widget->m_rootSubproject, subprojects_view, m_widget->m_rootSubproject->text(0));
diff --git a/buildtools/qmake/choosesubprojectdlg.h b/buildtools/qmake/choosesubprojectdlg.h
index e9daf2e1..4cf4ea4e 100644
--- a/buildtools/qmake/choosesubprojectdlg.h
+++ b/buildtools/qmake/choosesubprojectdlg.h
@@ -37,7 +37,7 @@ class ChooseSubprojectDlg : public ChooseSubprojectDlgBase
public:
- ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ChooseSubprojectDlg(TrollProjectWidget *widget, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~ChooseSubprojectDlg();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/buildtools/qmake/createscopedlg.h b/buildtools/qmake/createscopedlg.h
index 30f72b59..26535c72 100644
--- a/buildtools/qmake/createscopedlg.h
+++ b/buildtools/qmake/createscopedlg.h
@@ -23,7 +23,7 @@ class CreateScopeDlg : public CreateScopeDlgBase
public:
- CreateScopeDlg( QMakeScopeItem* item, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ CreateScopeDlg( QMakeScopeItem* item, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~CreateScopeDlg();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/buildtools/qmake/newwidgetdlg.h b/buildtools/qmake/newwidgetdlg.h
index 994aead5..d2d92254 100644
--- a/buildtools/qmake/newwidgetdlg.h
+++ b/buildtools/qmake/newwidgetdlg.h
@@ -21,7 +21,7 @@ class TQDomDocument;
class NewWidgetDlg : public NewWidgetDlgBase
{
public:
- NewWidgetDlg(TQStringList &newFileNames,TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ NewWidgetDlg(TQStringList &newFileNames,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~NewWidgetDlg();
diff --git a/buildtools/qmake/newwidgetdlgbase.ui b/buildtools/qmake/newwidgetdlgbase.ui
index 84d552b2..fde51b13 100644
--- a/buildtools/qmake/newwidgetdlgbase.ui
+++ b/buildtools/qmake/newwidgetdlgbase.ui
@@ -216,10 +216,10 @@
<tabstop>okayButton</tabstop>
<tabstop>cancelButton</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>subclassingPressed()</slot>
<slot>templateSelChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/qmake/projectconfigurationdlg.cpp b/buildtools/qmake/projectconfigurationdlg.cpp
index 25137f04..95189fff 100644
--- a/buildtools/qmake/projectconfigurationdlg.cpp
+++ b/buildtools/qmake/projectconfigurationdlg.cpp
@@ -106,7 +106,7 @@ ProjectConfigurationDlg::ProjectConfigurationDlg( TQListView *_prjList, TrollPro
prjWidget = _prjWidget;
// m_projectConfiguration = conf;
m_targetLibraryVersion->setValidator( new TQRegExpValidator(
- TQRegExp( "\\d+(\\.\\d+)?(\\.\\d+)" ), TQT_TQOBJECT(this) ) );
+ TQRegExp( "\\d+(\\.\\d+)?(\\.\\d+)" ), this ) );
customVariables->setSortColumn(0);
customVariables->setSortOrder(TQt::Ascending);
mocdir_url->completionObject()->setMode(KURLCompletion::DirCompletion);
@@ -387,7 +387,7 @@ void ProjectConfigurationDlg::updateProjectConfiguration()
myProjectItem->updateValues( "INCLUDEPATH", values );
//target.install
- if ( checkInstallTarget->isChecked() == true )
+ if ( checkInstallTarget->isChecked() )
{
myProjectItem->addValue( "INSTALLS", "target" );
myProjectItem->scope->setEqualOp( "target.path", TQStringList( m_InstallTargetPath->text() ) );
diff --git a/buildtools/qmake/projectconfigurationdlg.h b/buildtools/qmake/projectconfigurationdlg.h
index c4c9740b..bcf38005 100644
--- a/buildtools/qmake/projectconfigurationdlg.h
+++ b/buildtools/qmake/projectconfigurationdlg.h
@@ -56,7 +56,7 @@ class CustomVarListItem : public TDEListViewItem
class ProjectConfigurationDlg : public ProjectConfigurationDlgBase
{
public:
- ProjectConfigurationDlg( TQListView *_prjList, TrollProjectWidget* _prjWidget, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ProjectConfigurationDlg( TQListView *_prjList, TrollProjectWidget* _prjWidget, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~ProjectConfigurationDlg();
void updateControls();
void updateSubproject( QMakeScopeItem* _item );
diff --git a/buildtools/qmake/projectconfigurationdlgbase.ui b/buildtools/qmake/projectconfigurationdlgbase.ui
index 09193bdf..d809814d 100644
--- a/buildtools/qmake/projectconfigurationdlgbase.ui
+++ b/buildtools/qmake/projectconfigurationdlgbase.ui
@@ -2596,7 +2596,7 @@
<tabstop>buttonApply</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>updateProjectConfiguration()</slot>
<slot>buildorderMoveUpClicked()</slot>
<slot>buildorderMoveDownClicked()</slot>
@@ -2640,7 +2640,7 @@
<slot>activateApply( const TQString &amp; )</slot>
<slot>activateApply( TQListViewItem * )</slot>
<slot>customVarChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/buildtools/qmake/qmakedefaultopts.cpp b/buildtools/qmake/qmakedefaultopts.cpp
index fdbcad64..f33c277a 100644
--- a/buildtools/qmake/qmakedefaultopts.cpp
+++ b/buildtools/qmake/qmakedefaultopts.cpp
@@ -14,9 +14,9 @@
#include <kdebug.h>
#include <tdetempfile.h>
#include <tqregexp.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
-#include <blockingkprocess.h>
+#include <blockingtdeprocess.h>
TQMakeDefaultOpts::TQMakeDefaultOpts()
{
diff --git a/buildtools/qmake/trollprojectpart.cpp b/buildtools/qmake/trollprojectpart.cpp
index 49e228ad..58aa9d17 100644
--- a/buildtools/qmake/trollprojectpart.cpp
+++ b/buildtools/qmake/trollprojectpart.cpp
@@ -30,7 +30,7 @@
#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdeparts/part.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeconfig.h>
#include <tdeapplication.h>
#include <kurlrequesterdlg.h>
@@ -92,7 +92,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
const TQIconSet icon(SmallIcon("compfile"));
action = new TDEAction( i18n("Compile &File"), "compfile", 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotBuildOpenFile()),
+ m_widget, TQ_SLOT(slotBuildOpenFile()),
actionCollection(),"build_compilefile" );
action->setToolTip(i18n("Compile file"));
action->setWhatsThis(i18n("<b>Compile file</b><p>Runs <b>make filename.o</b> command from the directory where 'filename' is the name of currently opened file.<br>"
@@ -101,7 +101,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotBuildProject()),
+ m_widget, TQ_SLOT(slotBuildProject()),
actionCollection(), "build_build_project" );
action->setToolTip(i18n("Build project"));
action->setWhatsThis(i18n("<b>Build project</b><p>Runs <b>make</b> from the project directory.<br>"
@@ -109,7 +109,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Rebuild Project"),"rebuild" , 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotRebuildProject()),
+ m_widget, TQ_SLOT(slotRebuildProject()),
actionCollection(),"build_rebuild_project" );
action->setToolTip(i18n("Rebuild project"));
action->setWhatsThis(i18n("<b>Rebuild project</b><p>Runs <b>make clean</b> and then <b>make</b> from the project directory.<br>"
@@ -117,7 +117,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Install Project"),"install" , 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotInstallProject()),
+ m_widget, TQ_SLOT(slotInstallProject()),
actionCollection(),"build_install_project" );
action->setToolTip(i18n("Install project"));
action->setWhatsThis(i18n("<b>Install project</b><p>Runs <b>make install</b> from the project directory.<br>"
@@ -125,7 +125,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Clean Project"), 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotCleanProject()),
+ m_widget, TQ_SLOT(slotCleanProject()),
actionCollection(), "build_clean_project" );
action->setToolTip(i18n("Clean project"));
action->setWhatsThis(i18n("<b>Clean project</b><p>Runs <b>make clean</b> command from the project directory.<br>"
@@ -133,7 +133,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Dist-Clean Project"), 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotDistCleanProject()),
+ m_widget, TQ_SLOT(slotDistCleanProject()),
actionCollection(), "build_distclean_project" );
action->setToolTip(i18n("Dist-Clean project"));
action->setWhatsThis(i18n("<b>Dist-Clean project</b><p>Runs <b>make distclean</b> command from the "
@@ -141,13 +141,13 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("Execute Main Program"), "application-x-executable", SHIFT+Key_F9,
- this, TQT_SLOT(slotBuildAndExecuteProject()),
+ this, TQ_SLOT(slotBuildAndExecuteProject()),
actionCollection(), "build_execute_project" );
action->setToolTip(i18n("Execute main program"));
action->setWhatsThis(i18n("<b>Execute program</b><p>Executes the currently selected subproject if it is an application or the program specified in project settings, <b>Run Options</b> tab."));
action = new TDEAction( i18n("&Build Subproject"), "make_tdevelop", Key_F7,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotBuildTarget()),
+ m_widget, TQ_SLOT(slotBuildTarget()),
actionCollection(), "build_build_target" );
action->setToolTip(i18n("Build subproject"));
action->setWhatsThis(i18n("<b>Build subproject</b><p>Runs <b>make</b> from the current subproject directory. "
@@ -156,7 +156,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Rebuild Subproject"), "rebuild", 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotRebuildTarget()),
+ m_widget, TQ_SLOT(slotRebuildTarget()),
actionCollection(),"build_rebuild_target" );
action->setToolTip(i18n("Rebuild subproject"));
action->setWhatsThis(i18n("<b>Rebuild subproject</b><p>Runs <b>make clean</b> and then <b>make</b> from the current subproject directory. "
@@ -165,7 +165,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Install Subproject"), "install", 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotInstallTarget()),
+ m_widget, TQ_SLOT(slotInstallTarget()),
actionCollection(),"build_install_target" );
action->setToolTip(i18n("Install subproject"));
action->setWhatsThis(i18n("<b>Install subproject</b><p>Runs <b>make install</b> from the current subproject directory. "
@@ -174,7 +174,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Clean Subproject"), 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotCleanTarget()),
+ m_widget, TQ_SLOT(slotCleanTarget()),
actionCollection(), "build_clean_target" );
action->setToolTip(i18n("Clean subproject"));
action->setWhatsThis(i18n("<b>Clean subproject</b><p>Runs <b>make clean</b> from the current subproject directory. "
@@ -183,7 +183,7 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("&Dist-Clean Subproject"), 0,
- TQT_TQOBJECT(m_widget), TQT_SLOT(slotDistCleanTarget()),
+ m_widget, TQ_SLOT(slotDistCleanTarget()),
actionCollection(), "build_distclean_target" );
action->setToolTip(i18n("Dist-Clean subproject"));
action->setWhatsThis(i18n("<b>Dist-Clean subproject</b><p>Runs <b>make distclean</b> from the current"
@@ -192,18 +192,18 @@ TrollProjectPart::TrollProjectPart(TQObject *parent, const char *name, const TQS
"in the project settings dialog, <b>Make Options</b> tab."));
action = new TDEAction( i18n("Execute Subproject"), "application-x-executable", 0,
- this, TQT_SLOT(slotBuildAndExecuteTarget()),
+ this, TQ_SLOT(slotBuildAndExecuteTarget()),
actionCollection(), "build_execute_target" );
action->setToolTip(i18n("Execute subproject"));
action->setWhatsThis(i18n("<b>Execute subproject</b><p>Executes the target program for the currently selected subproject. "
"This action is allowed only if a type of the subproject is 'application'. The type of the subproject can be "
"defined in <b>Subproject Settings</b> dialog (open it from the subproject context menu)."));
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( makeFrontend(), TQT_SIGNAL(commandFinished(const TQString&)),
- this, TQT_SLOT(slotCommandFinished(const TQString&)) );
+ connect( makeFrontend(), TQ_SIGNAL(commandFinished(const TQString&)),
+ this, TQ_SLOT(slotCommandFinished(const TQString&)) );
TQString m_defaultTQtDir = DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "");
TQString m_qmakePath = DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/qmake", "");
@@ -260,7 +260,7 @@ TQString TrollProjectPart::makeEnvironment()
environstr += TQString( "TQTDIR=" ) + EnvVarTools::quote( DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "") ) + TQString( " PATH=$TQTDIR/bin:$PATH " );
}
- TDEConfigGroup grp( kapp->config(), "MakeOutputView" );
+ TDEConfigGroup grp( tdeApp->config(), "MakeOutputView" );
if( grp.readBoolEntry( "ForceCLocale", true ) )
environstr += "LC_MESSAGES="+EnvVarTools::quote("C")+" "+" "+"LC_CTYPE="+EnvVarTools::quote("C")+" ";
@@ -280,9 +280,9 @@ void TrollProjectPart::projectConfigWidget(KDialogBase *dlg)
QMakeOptionsWidget *qm = new QMakeOptionsWidget( projectDirectory(), *projectDom(), "/kdevtrollproject", vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w4, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(okClicked()), qm, TQT_SLOT(accept()) );
- connect( dlg, TQT_SIGNAL(okClicked()), optdlg, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w4, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), qm, TQ_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), optdlg, TQ_SLOT(accept()) );
}
diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp
index 551dcf27..bc5c850c 100644
--- a/buildtools/qmake/trollprojectwidget.cpp
+++ b/buildtools/qmake/trollprojectwidget.cpp
@@ -32,7 +32,7 @@
#include <tqptrstack.h>
#include <tqtextstream.h>
#include <tqcombobox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqtimer.h>
#include <tqdir.h>
#include <tqregexp.h>
@@ -51,7 +51,6 @@
#include <iostream>
#include <tdeparts/part.h>
#include <tdeaction.h>
-#include <kprocess.h>
#include <kinputdialog.h>
#include <tdeversion.h>
#include <kdirwatch.h>
@@ -156,16 +155,16 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part )
"external libraries,<br>build order,<br>intermediate files locations,<br>compiler options." ) );
// Project button connections
- connect ( addSubdirButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddSubproject () ) );
- connect ( createScopeButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotCreateScope () ) );
+ connect ( addSubdirButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddSubproject () ) );
+ connect ( createScopeButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotCreateScope () ) );
- connect ( buildProjectButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotBuildProject () ) );
- connect ( rebuildProjectButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRebuildProject () ) );
- connect ( executeProjectButton, TQT_SIGNAL ( clicked () ), m_part, TQT_SLOT ( slotBuildAndExecuteProject () ) );
+ connect ( buildProjectButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotBuildProject () ) );
+ connect ( rebuildProjectButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRebuildProject () ) );
+ connect ( executeProjectButton, TQ_SIGNAL ( clicked () ), m_part, TQ_SLOT ( slotBuildAndExecuteProject () ) );
- connect ( projectconfButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotConfigureProject () ) );
+ connect ( projectconfButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotConfigureProject () ) );
// Project tree
overview = new TrollListView( this, overviewContainer, SubprojectView, "project overview widget" );
@@ -175,10 +174,10 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part )
overview->addColumn( TQString() );
// Project tree connections
- connect( overview, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotOverviewSelectionChanged( TQListViewItem* ) ) );
- connect( overview, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
- this, TQT_SLOT( slotOverviewContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
+ connect( overview, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotOverviewSelectionChanged( TQListViewItem* ) ) );
+ connect( overview, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
+ this, TQ_SLOT( slotOverviewContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
/////////////////
@@ -284,30 +283,30 @@ TrollProjectWidget::TrollProjectWidget( TrollProjectPart *part )
details->header() ->hide();
details->addColumn( TQString() );
// Detail button connections
- connect ( addfilesButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotAddFiles () ) );
- connect ( newfileButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotNewFile () ) );
- connect ( removefileButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRemoveFile () ) );
- connect ( buildFileButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotBuildSelectedFile () ) );
- connect ( excludeFileFromScopeButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotExcludeFileFromScopeButton() ) );
+ connect ( addfilesButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotAddFiles () ) );
+ connect ( newfileButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotNewFile () ) );
+ connect ( removefileButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRemoveFile () ) );
+ connect ( buildFileButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotBuildSelectedFile () ) );
+ connect ( excludeFileFromScopeButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotExcludeFileFromScopeButton() ) );
// Detail tree connections
- connect( details, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ),
- this, TQT_SLOT( slotDetailsSelectionChanged( TQListViewItem* ) ) );
- connect( details, TQT_SIGNAL( executed( TQListViewItem* ) ),
- this, TQT_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
- connect( details, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
- this, TQT_SLOT( slotDetailsContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
-
- connect ( buildTargetButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotBuildTarget () ) );
- connect ( rebuildTargetButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotRebuildTarget () ) );
- connect ( executeTargetButton, TQT_SIGNAL ( clicked () ), m_part, TQT_SLOT ( slotBuildAndExecuteTarget () ) );
+ connect( details, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ),
+ this, TQ_SLOT( slotDetailsSelectionChanged( TQListViewItem* ) ) );
+ connect( details, TQ_SIGNAL( executed( TQListViewItem* ) ),
+ this, TQ_SLOT( slotDetailsExecuted( TQListViewItem* ) ) );
+ connect( details, TQ_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ),
+ this, TQ_SLOT( slotDetailsContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) );
+
+ connect ( buildTargetButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotBuildTarget () ) );
+ connect ( rebuildTargetButton, TQ_SIGNAL ( clicked () ), this, TQ_SLOT ( slotRebuildTarget () ) );
+ connect ( executeTargetButton, TQ_SIGNAL ( clicked () ), m_part, TQ_SLOT ( slotBuildAndExecuteTarget () ) );
buildTargetButton->setEnabled( false );
rebuildTargetButton->setEnabled( false );
executeTargetButton->setEnabled( false );
m_configDlg = new ProjectConfigurationDlg( overview, this, this );
- connect( m_part->dirWatch(), TQT_SIGNAL( dirty(const TQString&) ), this, TQT_SLOT( slotProjectDirty(const TQString&) ) );
+ connect( m_part->dirWatch(), TQ_SIGNAL( dirty(const TQString&) ), this, TQ_SLOT( slotProjectDirty(const TQString&) ) );
}
@@ -680,7 +679,7 @@ void TrollProjectWidget::slotExecuteTarget()
m_part->appFrontend()->stopApplication();
while(m_part->appFrontend()->isRunning())
{
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
usleep(100);
}
}
@@ -715,7 +714,7 @@ void TrollProjectWidget::slotExecuteTarget()
void TrollProjectWidget::slotBuildProject()
{
- if ( m_part->partController() ->saveAllFiles() == false )
+ if ( !m_part->partController() ->saveAllFiles() )
return ; //user cancelled
TQString dir = projectDirectory();
@@ -733,7 +732,7 @@ void TrollProjectWidget::slotBuildProject()
void TrollProjectWidget::slotInstallProject()
{
- if ( m_part->partController() ->saveAllFiles() == false )
+ if ( !m_part->partController() ->saveAllFiles() )
return ; //user cancelled
TQString dir = projectDirectory();
@@ -1301,7 +1300,7 @@ void TrollProjectWidget::slotAddFiles()
case AddFilesDialog::Link:
{
// Link selected files to current subproject folder
- TDEProcess *proc = new TDEProcess( TQT_TQOBJECT(this) );
+ TDEProcess *proc = new TDEProcess( this );
*proc << "ln";
*proc << "-s";
*proc << files[ i ];
@@ -1371,7 +1370,7 @@ void TrollProjectWidget::slotNewFile()
if ( gitem->groupType == GroupItem::InstallObject )
{
// TQString relpath = m_shownSubproject->path.mid(projectDirectory().length());
- bool ok = FALSE;
+ bool ok = false;
TQString filepattern = KInputDialog::getText(
i18n( "Insert New Filepattern" ),
i18n( "Please enter a filepattern relative the current "
@@ -1387,7 +1386,7 @@ void TrollProjectWidget::slotNewFile()
if ( gitem->groupType == GroupItem::InstallRoot )
{
// TQString relpath = m_shownSubproject->path.mid(projectDirectory().length());
- bool ok = FALSE;
+ bool ok = false;
TQString install_obj = KInputDialog::getText(
i18n( "Insert New Install Object" ),
i18n( "Please enter a name for the new object:" ),
@@ -1596,7 +1595,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
}
else if ( r == idInsNewFilepatternItem )
{
- bool ok = FALSE;
+ bool ok = false;
TQString filepattern = KInputDialog::getText(
i18n( "Add Pattern of Files to Install" ),
i18n( "Enter a pattern relative to the current "
@@ -1642,7 +1641,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
case AddFilesDialog::Link:
{
// Link selected files to current subproject folder
- TDEProcess *proc = new TDEProcess( TQT_TQOBJECT(this) );
+ TDEProcess *proc = new TDEProcess( this );
*proc << "ln";
*proc << "-s";
*proc << files[ i ];
@@ -1714,7 +1713,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
}
else if ( r == idInsInstallObject )
{
- bool ok = FALSE;
+ bool ok = false;
TQString install_obj = KInputDialog::getText(
i18n( "Add Install Object" ),
i18n( "Enter a name for the new object:" ),
@@ -1891,7 +1890,7 @@ void TrollProjectWidget::slotDetailsContextMenu( TDEListView *, TQListViewItem *
{
GroupItem * titem = static_cast<GroupItem*>( item->parent() );
- bool ok = FALSE;
+ bool ok = false;
TQString filepattern = KInputDialog::getText(
i18n( "Edit Pattern" ),
i18n( "Enter a pattern relative to the current "
@@ -2053,7 +2052,7 @@ void TrollProjectWidget::slotExecuteProject()
m_part->appFrontend()->stopApplication();
while(m_part->appFrontend()->isRunning())
{
- TDEApplication::kApplication()->processEvents();
+ tdeApp->processEvents();
usleep(100);
}
}
diff --git a/buildtools/script/scriptnewfiledlg.cpp b/buildtools/script/scriptnewfiledlg.cpp
index 9308792a..001565b2 100644
--- a/buildtools/script/scriptnewfiledlg.cpp
+++ b/buildtools/script/scriptnewfiledlg.cpp
@@ -54,8 +54,8 @@ ScriptNewFileDialog::ScriptNewFileDialog(ScriptProjectPart *part,
TQPushButton *ok_button = buttonbox->addButton(KStdGuiItem::ok());
TQPushButton *cancel_button = buttonbox->addButton(KStdGuiItem::cancel());
ok_button->setDefault(true);
- connect( ok_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancel_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( ok_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
buttonbox->layout();
TQVBoxLayout *layout = new TQVBoxLayout(this, 10, 4);
diff --git a/buildtools/script/scriptprojectpart.cpp b/buildtools/script/scriptprojectpart.cpp
index 42ce8935..600ce07d 100644
--- a/buildtools/script/scriptprojectpart.cpp
+++ b/buildtools/script/scriptprojectpart.cpp
@@ -51,17 +51,17 @@ ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const T
if (!extension<KDevCreateFile>("TDevelop/CreateFile")) {
TDEAction *action;
action = new TDEAction( i18n("New File..."), 0,
- this, TQT_SLOT(slotNewFile()),
+ this, TQ_SLOT(slotNewFile()),
actionCollection(), "file_newfile" );
action->setWhatsThis( i18n("<b>New file</b><p>Creates a new file.") );
action->setToolTip( i18n("Create a new file") );
}
new TDEAction( i18n("Rescan Project"), 0, CTRL+ALT+Key_R,
- this, TQT_SLOT(rescan()),
+ this, TQ_SLOT(rescan()),
actionCollection(), "rescan" );
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
}
@@ -74,7 +74,7 @@ void ScriptProjectPart::projectConfigWidget(KDialogBase *dlg)
TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Script Project Options"), i18n("Script Project Options"), BarIcon("tdevelop", TDEIcon::SizeMedium));
ScriptOptionsWidget *w = new ScriptOptionsWidget(this, vbox);
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}