From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwallet/tests/kwalletasync.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kwallet/tests/kwalletasync.cpp') 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[] ) -- cgit v1.2.1