summaryrefslogtreecommitdiffstats
path: root/kio/tests/kdirwatchtest.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/tests/kdirwatchtest.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/tests/kdirwatchtest.cpp')
-rw-r--r--kio/tests/kdirwatchtest.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kio/tests/kdirwatchtest.cpp b/kio/tests/kdirwatchtest.cpp
index 41924078e..48bc59a14 100644
--- a/kio/tests/kdirwatchtest.cpp
+++ b/kio/tests/kdirwatchtest.cpp
@@ -9,7 +9,7 @@
LGPL version 2.
*/
-#include <qfile.h>
+#include <tqfile.h>
#include <kdebug.h>
#include <kcmdlineargs.h>
@@ -38,26 +38,26 @@ int main (int argc, char **argv)
KDirWatch *dirwatch1 = KDirWatch::self();
KDirWatch *dirwatch2 = new KDirWatch;
- testObject.connect(dirwatch1, SIGNAL( dirty( const QString &)), SLOT( dirty( const QString &)) );
- testObject.connect(dirwatch1, SIGNAL( created( const QString &)), SLOT( created( const QString &)) );
- testObject.connect(dirwatch1, SIGNAL( deleted( const QString &)), SLOT( deleted( const QString &)) );
+ testObject.connect(dirwatch1, TQT_SIGNAL( dirty( const TQString &)), TQT_SLOT( dirty( const TQString &)) );
+ testObject.connect(dirwatch1, TQT_SIGNAL( created( const TQString &)), TQT_SLOT( created( const TQString &)) );
+ testObject.connect(dirwatch1, TQT_SIGNAL( deleted( const TQString &)), TQT_SLOT( deleted( const TQString &)) );
if (args->count() >0) {
for(int i = 0; i < args->count(); i++) {
kdDebug() << "Watching: " << args->arg(i) << endl;
- dirwatch2->addDir( QFile::decodeName( args->arg(i)));
+ dirwatch2->addDir( TQFile::decodeName( args->arg(i)));
}
}
- QString home = QString(getenv ("HOME")) + "/";
- QString desk = home + "Desktop/";
+ TQString home = TQString(getenv ("HOME")) + "/";
+ TQString desk = home + "Desktop/";
kdDebug() << "Watching: " << home << endl;
dirwatch1->addDir(home);
kdDebug() << "Watching file: " << home << "foo " << endl;
dirwatch1->addFile(home+"foo");
kdDebug() << "Watching: " << desk << endl;
dirwatch1->addDir(desk);
- QString test = home + "test/";
+ TQString test = home + "test/";
kdDebug() << "Watching: (but skipped) " << test << endl;
dirwatch1->addDir(test);