summaryrefslogtreecommitdiffstats
path: root/libkcal/tests/testrecurson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/tests/testrecurson.cpp')
-rw-r--r--libkcal/tests/testrecurson.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkcal/tests/testrecurson.cpp b/libkcal/tests/testrecurson.cpp
index 154cbe676..01dfb5f7a 100644
--- a/libkcal/tests/testrecurson.cpp
+++ b/libkcal/tests/testrecurson.cpp
@@ -31,7 +31,7 @@ extern "C" {
#include <kdebug.h>
#include <kcmdlineargs.h>
-#include <qfile.h>
+#include <tqfile.h>
@@ -64,26 +64,26 @@ 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 ) );
+ TQString input = TQFile::decodeName( args->arg( 0 ) );
kdDebug(5800) << "Input file: " << input << endl;
- QTextStream *outstream;
+ TQTextStream *outstream;
outstream = 0;
- QString fn("");
+ TQString fn("");
if ( args->count() > 1 ) {
fn = args->arg( 1 );
kdDebug() << "We have a file name given: " << fn << endl;
}
- QFile outfile( fn );
+ TQFile outfile( fn );
if ( !fn.isEmpty() && outfile.open( IO_WriteOnly ) ) {
kdDebug() << "Opened output file!!!" << endl;
- outstream = new QTextStream( &outfile );
+ outstream = new TQTextStream( &outfile );
}
- 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 );
}
@@ -97,7 +97,7 @@ int main( int argc, char **argv )
incidence->recurrence()->dump();
- QDate dt( 1996, 7, 1 );
+ TQDate dt( 1996, 7, 1 );
if ( outstream ) {
// Output to file for testing purposes
while ( dt.year() <= 2010 ) {
@@ -106,7 +106,7 @@ int main( int argc, char **argv )
dt = dt.addDays( 1 );
}
} else {
- dt = QDate( 2005, 1, 1 );
+ dt = TQDate( 2005, 1, 1 );
while ( dt.year() < 2007 ) {
if ( incidence->recursOn( dt ) )
kdDebug(5800) << dt.toString( Qt::ISODate ) << endl;