diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:51:33 +0900 |
| commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
| tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/libkopete/tests/kopetepasswordtest_program.cpp | |
| parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
| download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/libkopete/tests/kopetepasswordtest_program.cpp')
| -rw-r--r-- | kopete/libkopete/tests/kopetepasswordtest_program.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/libkopete/tests/kopetepasswordtest_program.cpp b/kopete/libkopete/tests/kopetepasswordtest_program.cpp index 42649d74..b53394b3 100644 --- a/kopete/libkopete/tests/kopetepasswordtest_program.cpp +++ b/kopete/libkopete/tests/kopetepasswordtest_program.cpp @@ -45,9 +45,9 @@ using namespace Kopete; TQString retrieve( Password &pwd, const TQPixmap &image, const TQString &prompt ) { PasswordRetriever r; - pwd.request( &r, TQT_SLOT( gotPassword( const TQString & ) ), image, prompt ); + pwd.request( &r, TQ_SLOT( gotPassword( const TQString & ) ), image, prompt ); TQTimer tmr; - r.connect( &tmr, TQT_SIGNAL( timeout() ), TQT_SLOT( timer() ) ); + r.connect( &tmr, TQ_SIGNAL( timeout() ), TQ_SLOT( timer() ) ); tmr.start( 1000 ); tqApp->exec(); return r.password; @@ -112,7 +112,7 @@ int main( int argc, char *argv[] ) // without this, setting passwords will fail since they're // set asynchronously. - TQTimer::singleShot( 0, &app, TQT_SLOT( deref() ) ); + TQTimer::singleShot( 0, &app, TQ_SLOT( deref() ) ); app.exec(); if ( setPassword ) |
