diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-18 09:59:16 +0900 |
| commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
| tree | 9330d82486c7b3125b8275914565b324f9af523e /kopete/libkopete/tests/kopetewallettest_program.cpp | |
| parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
| download | tdenetwork-40393e30.tar.gz tdenetwork-40393e30.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kopete/libkopete/tests/kopetewallettest_program.cpp')
| -rw-r--r-- | kopete/libkopete/tests/kopetewallettest_program.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |
