summaryrefslogtreecommitdiffstats
path: root/kpilot/tests/testidmapper.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kpilot/tests/testidmapper.cc
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 a694a4c38..8d60afc5b 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() &&