summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/tests/kopetewallettest_program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/tests/kopetewallettest_program.cpp')
-rw-r--r--kopete/libkopete/tests/kopetewallettest_program.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/libkopete/tests/kopetewallettest_program.cpp b/kopete/libkopete/tests/kopetewallettest_program.cpp
index cfc8b6e9..b6eaf635 100644
--- a/kopete/libkopete/tests/kopetewallettest_program.cpp
+++ b/kopete/libkopete/tests/kopetewallettest_program.cpp
@@ -38,8 +38,8 @@ void closeWallet()
void delay()
{
- TQTimer::singleShot( 3000, qApp, TQT_SLOT( quit() ) );
- qApp->exec();
+ TQTimer::singleShot( 3000, tqApp, TQT_SLOT( quit() ) );
+ tqApp->exec();
}
void openWalletAsync()
@@ -76,9 +76,9 @@ int main( int argc, char *argv[] )
{
TQString arg = args->arg( i );
_out << "Processing " << arg << endl;
- if( arg == TQString::fromLatin1( "open" ) ) openWalletAsync();
- if( arg == TQString::fromLatin1( "close" ) ) closeWallet();
- if( arg == TQString::fromLatin1( "delay" ) ) delay();
+ if( arg == TQString::tqfromLatin1( "open" ) ) openWalletAsync();
+ if( arg == TQString::tqfromLatin1( "close" ) ) closeWallet();
+ if( arg == TQString::tqfromLatin1( "delay" ) ) delay();
_out << "Done." << endl;
}
@@ -89,8 +89,8 @@ int main( int argc, char *argv[] )
timer.start( 1000 );
_out << "About to start 30 second event loop" << endl;
- TQTimer::singleShot( 30000, qApp, TQT_SLOT( quit() ) );
- return qApp->exec();
+ TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) );
+ return tqApp->exec();
}
#include "kopetewallettest_program.moc"