summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/startdialogimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /kdevdesigner/designer/startdialogimpl.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/startdialogimpl.cpp')
-rw-r--r--kdevdesigner/designer/startdialogimpl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdevdesigner/designer/startdialogimpl.cpp b/kdevdesigner/designer/startdialogimpl.cpp
index e5bf7752..a85310be 100644
--- a/kdevdesigner/designer/startdialogimpl.cpp
+++ b/kdevdesigner/designer/startdialogimpl.cpp
@@ -26,8 +26,8 @@
#include <klocale.h>
-FileDialog::FileDialog( const TQString &dir, TQWidget *parent )
- : TQFileDialog( dir, TQString::null, parent )
+FileDialog::FileDialog( const TQString &dir, TQWidget *tqparent )
+ : TQFileDialog( dir, TQString(), tqparent )
{
}
@@ -37,8 +37,8 @@ void FileDialog::accept()
}
-StartDialog::StartDialog( TQWidget *parent, const TQString &templatePath )
- : StartDialogBase( parent, 0 )
+StartDialog::StartDialog( TQWidget *tqparent, const TQString &templatePath )
+ : StartDialogBase( tqparent, 0 )
{
newForm = new NewForm( templateView, templatePath );
recentFiles.clear();
@@ -108,7 +108,7 @@ void StartDialog::recentItemChanged( TQIconViewItem *item )
}
TQDateTime dt( f.lastModified() );
TQString date( dt.toString( "MMMM dd hh:mm" ));
- msg = TQString( "%1 (%2 %3) %4" ).arg(msg).arg(s).arg(unit).arg(date);
+ msg = TQString( "%1 (%2 %3) %4" ).tqarg(msg).tqarg(s).tqarg(unit).tqarg(date);
fileInfoLabel->setText( msg );
}
@@ -163,12 +163,12 @@ void StartDialog::initFileOpen()
fd->setSizeGripEnabled ( FALSE );
tabLayout->addWidget( fd );
- QPluginManager<ImportFilterInterface> manager( IID_ImportFilter, TQApplication::libraryPaths(),
+ TQPluginManager<ImportFilterInterface> manager( IID_ImportFilter, TQApplication::libraryPaths(),
MainWindow::self->pluginDirectory() );
TQStringList filterlist;
filterlist << i18n( "Designer Files (*.ui *.pro)" );
- filterlist << i18n( "Qt User-Interface Files (*.ui)" );
- filterlist << i18n( "QMAKE Project Files (*.pro)" );
+ filterlist << i18n( "TQt User-Interface Files (*.ui)" );
+ filterlist << i18n( "TQMAKE Project Files (*.pro)" );
TQStringList list = manager.featureList();
for ( TQStringList::Iterator it2 = list.begin(); it2 != list.end(); ++it2 )