diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/tests/kopetewallettest_program.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/tests/kopetewallettest_program.cpp')
-rw-r--r-- | kopete/libkopete/tests/kopetewallettest_program.cpp | 14 |
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" |