summaryrefslogtreecommitdiffstats
path: root/kwallet/tests
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kwallet/tests
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 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: