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