summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/readandwrite.cpp
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 /libkcal/tests/readandwrite.cpp
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 'libkcal/tests/readandwrite.cpp')
-rw-r--r--libkcal/tests/readandwrite.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/tests/readandwrite.cpp b/libkcal/tests/readandwrite.cpp
index 8922080a3..076f55cbf 100644
--- a/libkcal/tests/readandwrite.cpp
+++ b/libkcal/tests/readandwrite.cpp
@@ -31,8 +31,8 @@ extern "C" {
#include <klocale.h>
#include <kcmdlineargs.h>
-#include <qfile.h>
-#include <qfileinfo.h>
+#include <tqfile.h>
+#include <tqfileinfo.h>
using namespace KCal;
@@ -61,20 +61,20 @@ int main( int argc, char **argv )
// use zoneinfo data from source dir
set_zone_directory( KDETOPSRCDIR "/libkcal/libical/zoneinfo" );
- QString input = QFile::decodeName( args->arg( 0 ) );
- QString output = QFile::decodeName( args->arg( 1 ) );
+ TQString input = TQFile::decodeName( args->arg( 0 ) );
+ TQString output = TQFile::decodeName( args->arg( 1 ) );
- QFileInfo outputFileInfo( output );
+ TQFileInfo outputFileInfo( output );
output = outputFileInfo.absFilePath();
kdDebug(5800) << "Input file: " << input << endl;
kdDebug(5800) << "Output file: " << output << endl;
- CalendarLocal cal( QString::fromLatin1("UTC") );
+ CalendarLocal cal( TQString::fromLatin1("UTC") );
if ( !cal.load( input ) ) return 1;
- QString tz = cal.nonKDECustomProperty( "X-LibKCal-Testsuite-OutTZ" );
+ TQString tz = cal.nonKDECustomProperty( "X-LibKCal-Testsuite-OutTZ" );
if ( !tz.isEmpty() ) {
cal.setTimeZoneIdViewOnly( tz );
}