summaryrefslogtreecommitdiffstats
path: root/kpilot/tests/testidmapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/tests/testidmapper.cc')
-rw-r--r--kpilot/tests/testidmapper.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpilot/tests/testidmapper.cc b/kpilot/tests/testidmapper.cc
index a694a4c3..8d60afc5 100644
--- a/kpilot/tests/testidmapper.cc
+++ b/kpilot/tests/testidmapper.cc
@@ -33,8 +33,8 @@
#include <kapplication.h>
#include <kcmdlineargs.h>
-#include <qdir.h>
-#include <qfile.h>
+#include <tqdir.h>
+#include <tqfile.h>
#define TESTFILE "Testing/mapping.xml"
#define CONDUIT CSL1("knotes")
@@ -51,7 +51,7 @@ bool test1()
delete mapper;
mapper = 0l;
- QFile f( TESTFILE );
+ TQFile f( TESTFILE );
bool result = f.exists();
if( result )
@@ -293,15 +293,15 @@ int main(int argc, char **argv)
KApplication app( false, false );
// Remove file from previous test run
- QDir test( "Testing" );
+ TQDir test( "Testing" );
if( !test.exists() ) {
- QDir current;
+ TQDir current;
current.mkdir( "Testing" );
}
- QFile f( TESTFILE );
+ TQFile f( TESTFILE );
if( f.exists() )
- QFile::remove( TESTFILE );
+ TQFile::remove( TESTFILE );
if( test1() && test2() && test3() &&
test4() && test5() && test6() &&