diff options
Diffstat (limited to 'kopete/libkopete/tests')
-rw-r--r-- | kopete/libkopete/tests/kopetepasswordtest_program.cpp | 6 | ||||
-rw-r--r-- | kopete/libkopete/tests/kopetewallettest_program.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kopete/libkopete/tests/kopetepasswordtest_program.cpp b/kopete/libkopete/tests/kopetepasswordtest_program.cpp index 42649d74..b53394b3 100644 --- a/kopete/libkopete/tests/kopetepasswordtest_program.cpp +++ b/kopete/libkopete/tests/kopetepasswordtest_program.cpp @@ -45,9 +45,9 @@ using namespace Kopete; TQString retrieve( Password &pwd, const TQPixmap &image, const TQString &prompt ) { PasswordRetriever r; - pwd.request( &r, TQT_SLOT( gotPassword( const TQString & ) ), image, prompt ); + pwd.request( &r, TQ_SLOT( gotPassword( const TQString & ) ), image, prompt ); TQTimer tmr; - r.connect( &tmr, TQT_SIGNAL( timeout() ), TQT_SLOT( timer() ) ); + r.connect( &tmr, TQ_SIGNAL( timeout() ), TQ_SLOT( timer() ) ); tmr.start( 1000 ); tqApp->exec(); return r.password; @@ -112,7 +112,7 @@ int main( int argc, char *argv[] ) // without this, setting passwords will fail since they're // set asynchronously. - TQTimer::singleShot( 0, &app, TQT_SLOT( deref() ) ); + TQTimer::singleShot( 0, &app, TQ_SLOT( deref() ) ); app.exec(); if ( setPassword ) diff --git a/kopete/libkopete/tests/kopetewallettest_program.cpp b/kopete/libkopete/tests/kopetewallettest_program.cpp index a8ea1fd8..f127ba26 100644 --- a/kopete/libkopete/tests/kopetewallettest_program.cpp +++ b/kopete/libkopete/tests/kopetewallettest_program.cpp @@ -38,7 +38,7 @@ void closeWallet() void delay() { - TQTimer::singleShot( 3000, tqApp, TQT_SLOT( quit() ) ); + TQTimer::singleShot( 3000, tqApp, TQ_SLOT( quit() ) ); tqApp->exec(); } @@ -46,7 +46,7 @@ void openWalletAsync() { WalletReciever *r = new WalletReciever; _out << "[ASYNC] About to open wallet, receiver: " << r << endl; - Kopete::WalletManager::self()->openWallet( r, TQT_SLOT( gotWallet( TDEWallet::Wallet* ) ) ); + Kopete::WalletManager::self()->openWallet( r, TQ_SLOT( gotWallet( TDEWallet::Wallet* ) ) ); } void WalletReciever::gotWallet( TDEWallet::Wallet *w ) @@ -85,11 +85,11 @@ int main( int argc, char *argv[] ) WalletReciever *r = new WalletReciever; TQTimer timer; - r->connect( &timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timer() ) ); + r->connect( &timer, TQ_SIGNAL( timeout() ), TQ_SLOT( timer() ) ); timer.start( 1000 ); _out << "About to start 30 second event loop" << endl; - TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) ); + TQTimer::singleShot( 30000, tqApp, TQ_SLOT( quit() ) ); return tqApp->exec(); } |