From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/kfile/tests/kfdtest.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kio/kfile/tests/kfdtest.cpp') diff --git a/kio/kfile/tests/kfdtest.cpp b/kio/kfile/tests/kfdtest.cpp index d9341a7ae..25e2da949 100644 --- a/kio/kfile/tests/kfdtest.cpp +++ b/kio/kfile/tests/kfdtest.cpp @@ -1,31 +1,31 @@ #include "kfdtest.h" -#include +#include #include #include #include -#include +#include -KFDTest::KFDTest( const QString& startDir, QObject *parent, const char *name ) - : QObject( parent, name ), +KFDTest::KFDTest( const TQString& startDir, TQObject *parent, const char *name ) + : TQObject( parent, name ), m_startDir( startDir ) { - QTimer::singleShot( 1000, this, SLOT( doit() )); + TQTimer::singleShot( 1000, this, TQT_SLOT( doit() )); } void KFDTest::doit() { - KFileDialog *dlg = new KFileDialog( m_startDir, QString::null, 0L, + KFileDialog *dlg = new KFileDialog( m_startDir, TQString::null, 0L, "file dialog", true ); dlg->setMode( KFile::File); dlg->setOperationMode( KFileDialog::Saving ); - QStringList filter; + TQStringList filter; filter << "all/allfiles" << "text/plain"; dlg->setMimeFilter( filter, "all/allfiles" ); if ( dlg->exec() == KDialog::Accepted ) { - KMessageBox::information(0, QString::fromLatin1("You selected the file: %1").arg( dlg->selectedURL().prettyURL() )); + KMessageBox::information(0, TQString::fromLatin1("You selected the file: %1").arg( dlg->selectedURL().prettyURL() )); } // qApp->quit(); -- cgit v1.2.1