summaryrefslogtreecommitdiffstats
path: root/kio/kfile/tests/kfdtest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kfile/tests/kfdtest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/tests/kfdtest.cpp')
-rw-r--r--kio/kfile/tests/kfdtest.cpp16
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();