diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdewallet | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdewallet')
-rw-r--r-- | tdewallet/client/tdewallet.cpp | 4 | ||||
-rw-r--r-- | tdewallet/tests/tdewalletasync.cpp | 4 | ||||
-rw-r--r-- | tdewallet/tests/tdewalletboth.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tdewallet/client/tdewallet.cpp b/tdewallet/client/tdewallet.cpp index 85205d7e3..9785472ed 100644 --- a/tdewallet/client/tdewallet.cpp +++ b/tdewallet/client/tdewallet.cpp @@ -79,9 +79,9 @@ Wallet::Wallet(int handle, const TQString& name) _dcopRef->dcopClient()->setNotifications(true); connect(_dcopRef->dcopClient(), - TQT_SIGNAL(applicationRemoved(const TQCString&)), + TQ_SIGNAL(applicationRemoved(const TQCString&)), this, - TQT_SLOT(slotAppUnregistered(const TQCString&))); + TQ_SLOT(slotAppUnregistered(const TQCString&))); connectDCOPSignal(_dcopRef->app(), _dcopRef->obj(), "walletClosed(int)", "slotWalletClosed(int)", false); connectDCOPSignal(_dcopRef->app(), _dcopRef->obj(), "folderListUpdated(TQString)", "slotFolderListUpdated(TQString)", false); diff --git a/tdewallet/tests/tdewalletasync.cpp b/tdewallet/tests/tdewalletasync.cpp index 57571bebb..54e618b70 100644 --- a/tdewallet/tests/tdewalletasync.cpp +++ b/tdewallet/tests/tdewalletasync.cpp @@ -22,11 +22,11 @@ void openWallet() TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Asynchronous ); WalletReceiver r; - r.connect( wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( walletOpened(bool) ) ); + r.connect( wallet, TQ_SIGNAL( walletOpened(bool) ), TQ_SLOT( walletOpened(bool) ) ); _out << "About to start 30 second event loop" << endl; - TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) ); + TQTimer::singleShot( 30000, tqApp, TQ_SLOT( quit() ) ); int ret = tqApp->exec(); if ( ret == 0 ) diff --git a/tdewallet/tests/tdewalletboth.cpp b/tdewallet/tests/tdewalletboth.cpp index cc2819e0b..bdfc73f8f 100644 --- a/tdewallet/tests/tdewalletboth.cpp +++ b/tdewallet/tests/tdewalletboth.cpp @@ -22,7 +22,7 @@ void openWallet() TDEWallet::Wallet *wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(), 0, TDEWallet::Wallet::Asynchronous ); WalletReceiver r; - r.connect( wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( walletOpened(bool) ) ); + r.connect( wallet, TQ_SIGNAL( walletOpened(bool) ), TQ_SLOT( walletOpened(bool) ) ); _out << "About to ask for wallet sync" << endl; @@ -31,7 +31,7 @@ void openWallet() _out << "Got sync wallet: " << (wallet != 0) << endl; _out << "About to start 30 second event loop" << endl; - TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) ); + TQTimer::singleShot( 30000, tqApp, TQ_SLOT( quit() ) ); int ret = tqApp->exec(); |