diff options
Diffstat (limited to 'kio/kfile/tests/kfdtest.cpp')
-rw-r--r-- | kio/kfile/tests/kfdtest.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <qstringlist.h> +#include <tqstringlist.h> #include <kfiledialog.h> #include <kapplication.h> #include <kmessagebox.h> -#include <qtimer.h> +#include <tqtimer.h> -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(); |