From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- buildtools/autotools/choosetargetdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'buildtools/autotools/choosetargetdialog.cpp') diff --git a/buildtools/autotools/choosetargetdialog.cpp b/buildtools/autotools/choosetargetdialog.cpp index 4ffc326b..d09f0a7b 100644 --- a/buildtools/autotools/choosetargetdialog.cpp +++ b/buildtools/autotools/choosetargetdialog.cpp @@ -58,12 +58,12 @@ public: }; ChooseTargetDialog::ChooseTargetDialog ( AutoProjectWidget* widget, AutoProjectPart* part, - TQStringList fileList, TQWidget* parent, const char* name ) -: KDialogBase( parent, name, false, i18n("Automake Manager - Choose Target"), + TQStringList fileList, TQWidget* tqparent, const char* name ) +: KDialogBase( tqparent, name, false, i18n("Automake Manager - Choose Target"), Ok | Cancel, KDialogBase::Ok, true /* seperator */ ) { - Q_UNUSED( parent ); + Q_UNUSED( tqparent ); Q_UNUSED( name ); d = new ChooseTargetDialog::Private; d->widget = widget; @@ -76,7 +76,7 @@ ChooseTargetDialog::ChooseTargetDialog ( AutoProjectWidget* widget, AutoProjectP d->baseUI->subprojectComboBox->setAutoCompletion( true ); d->baseUI->targetComboBox->setAutoCompletion( true ); d->baseUI->newFileList->header()->hide(); - d->baseUI->newFileList->addColumn( TQString::null ); + d->baseUI->newFileList->addColumn( TQString() ); d->baseUI->newFileList->setSorting(-1); setIcon ( SmallIcon ( "target_kdevelop" ) ); @@ -128,7 +128,7 @@ ChooseTargetDialog::ChooseTargetDialog ( AutoProjectWidget* widget, AutoProjectP for ( it = fileList.begin(); it != fileList.end(); ++it ) { - int pos = ( *it ).findRev('/'); + int pos = ( *it ).tqfindRev('/'); if (pos != -1) fileName = ( *it ).mid(pos+1); else @@ -246,7 +246,7 @@ void ChooseTargetDialog::slotOk() { bool found = false; - int pos = ( *it ).findRev('/'); + int pos = ( *it ).tqfindRev('/'); if (pos != -1) { directory = ( *it ).left(pos); -- cgit v1.2.1