diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 17:51:33 +0900 |
commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/protocols/yahoo/libkyahoo/tests | |
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 <[email protected]>
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/tests')
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/tests/clientstream_test.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/tests/logintest.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/tests/clientstream_test.cpp b/kopete/protocols/yahoo/libkyahoo/tests/clientstream_test.cpp index efcd63cf..31a5b99f 100644 --- a/kopete/protocols/yahoo/libkyahoo/tests/clientstream_test.cpp +++ b/kopete/protocols/yahoo/libkyahoo/tests/clientstream_test.cpp @@ -13,12 +13,12 @@ ClientStreamTest::ClientStreamTest(int argc, char ** argv) : TQApplication( argc myConnector->setOptHostPort( "scs.msg.yahoo.com", 5050 ); myTestObject = new ClientStream( myConnector, myConnector); // notify when the transport layer is connected - connect( myTestObject, TQT_SIGNAL( connected() ), TQT_SLOT( slotConnected() ) ); + connect( myTestObject, TQ_SIGNAL( connected() ), TQ_SLOT( slotConnected() ) ); // notify and start sending - //connect( myTestObject, TQT_SIGNAL( warning(int) ), TQT_SLOT( slotWarning(int) ) ); + //connect( myTestObject, TQ_SIGNAL( warning(int) ), TQ_SLOT( slotWarning(int) ) ); // do test once the event loop is running - TQTimer::singleShot( 0, this, TQT_SLOT( slotDoTest() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotDoTest() ) ); connected = false; } diff --git a/kopete/protocols/yahoo/libkyahoo/tests/logintest.cpp b/kopete/protocols/yahoo/libkyahoo/tests/logintest.cpp index 5e9b04a5..8bd11f64 100644 --- a/kopete/protocols/yahoo/libkyahoo/tests/logintest.cpp +++ b/kopete/protocols/yahoo/libkyahoo/tests/logintest.cpp @@ -33,7 +33,7 @@ LoginTest::LoginTest(int argc, char ** argv) : TQApplication( argc, argv ) // notify when the transport layer is connected myClient = new Client(); // do test once the event loop is running - TQTimer::singleShot( 0, this, TQT_SLOT( slotDoTest() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotDoTest() ) ); connected = false; } @@ -50,7 +50,7 @@ void LoginTest::slotDoTest() // connect to server kdDebug(14180) << k_funcinfo << " connecting to server" << endl; - connect( myClient, TQT_SIGNAL( connected() ), TQT_SLOT( slotConnected() ) ); + connect( myClient, TQ_SIGNAL( connected() ), TQ_SLOT( slotConnected() ) ); myClient->start( server, 5050, "duncanmacvicar", "**********" ); myClient->connectToServer( myClientStream, server, true ); } |