diff options
Diffstat (limited to 'kwallet/tests')
-rw-r--r-- | kwallet/tests/kwalletasync.cpp | 6 | ||||
-rw-r--r-- | kwallet/tests/kwalletboth.cpp | 6 | ||||
-rw-r--r-- | kwallet/tests/kwallettest.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kwallet/tests/kwalletasync.cpp b/kwallet/tests/kwalletasync.cpp index 072fb55f8..6e5c22998 100644 --- a/kwallet/tests/kwalletasync.cpp +++ b/kwallet/tests/kwalletasync.cpp @@ -26,8 +26,8 @@ void openWallet() _out << "About to start 30 second event loop" << endl; - TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) ); - int ret = tqApp->exec(); + TQTimer::singleShot( 30000, qApp, TQT_SLOT( quit() ) ); + int ret = qApp->exec(); if ( ret == 0 ) _out << "Timed out!" << endl; @@ -38,7 +38,7 @@ void openWallet() void WalletReceiver::walletOpened( bool got ) { _out << "Got async wallet: " << got << endl; - tqApp->exit( 1 ); + qApp->exit( 1 ); } int main( int argc, char *argv[] ) diff --git a/kwallet/tests/kwalletboth.cpp b/kwallet/tests/kwalletboth.cpp index 75d303419..f79f38567 100644 --- a/kwallet/tests/kwalletboth.cpp +++ b/kwallet/tests/kwalletboth.cpp @@ -31,8 +31,8 @@ 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() ) ); - int ret = tqApp->exec(); + TQTimer::singleShot( 30000, qApp, TQT_SLOT( quit() ) ); + int ret = qApp->exec(); if ( ret == 0 ) @@ -60,7 +60,7 @@ void openWallet() void WalletReceiver::walletOpened( bool got ) { _out << "Got async wallet: " << got << endl; - tqApp->exit( 1 ); + qApp->exit( 1 ); } int main( int argc, char *argv[] ) diff --git a/kwallet/tests/kwallettest.h b/kwallet/tests/kwallettest.h index c062760a4..448cdb785 100644 --- a/kwallet/tests/kwallettest.h +++ b/kwallet/tests/kwallettest.h @@ -5,7 +5,7 @@ namespace KWallet { class Wallet; } -class WalletReceiver : public TQObject +class WalletReceiver : public QObject { Q_OBJECT public slots: |