diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-15 11:09:32 +0900 |
commit | 7f03918f8df7479b0e1a88288066201a301e87bf (patch) | |
tree | ef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeabc/tests | |
parent | ccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff) | |
download | tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeabc/tests')
-rw-r--r-- | tdeabc/tests/testaddresslineedit.cpp | 2 | ||||
-rw-r--r-- | tdeabc/tests/testdistlist.cpp | 2 | ||||
-rw-r--r-- | tdeabc/tests/testldapclient.cpp | 12 | ||||
-rw-r--r-- | tdeabc/tests/testlock.cpp | 18 |
4 files changed, 17 insertions, 17 deletions
diff --git a/tdeabc/tests/testaddresslineedit.cpp b/tdeabc/tests/testaddresslineedit.cpp index 80bd311da..ee4513d98 100644 --- a/tdeabc/tests/testaddresslineedit.cpp +++ b/tdeabc/tests/testaddresslineedit.cpp @@ -21,7 +21,7 @@ int main( int argc,char **argv ) lineEdit->show(); app.setMainWidget( lineEdit ); - TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) ); + TQObject::connect( &app, TQ_SIGNAL( lastWindowClosed() ), &app, TQ_SLOT( quit() ) ); app.exec(); diff --git a/tdeabc/tests/testdistlist.cpp b/tdeabc/tests/testdistlist.cpp index 833dca84e..4a46f8e83 100644 --- a/tdeabc/tests/testdistlist.cpp +++ b/tdeabc/tests/testdistlist.cpp @@ -51,7 +51,7 @@ int main(int argc,char **argv) editor->show(); app.setMainWidget(editor); - TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) ); + TQObject::connect( &app, TQ_SIGNAL( lastWindowClosed() ), &app, TQ_SLOT( quit() ) ); app.exec(); diff --git a/tdeabc/tests/testldapclient.cpp b/tdeabc/tests/testldapclient.cpp index a48ce043f..338d703f3 100644 --- a/tdeabc/tests/testldapclient.cpp +++ b/tdeabc/tests/testldapclient.cpp @@ -97,12 +97,12 @@ void TestLDAPClient::testIntevation() // But this certainly looks fishy, it might break on non-utf8 systems. TQString filter = "&(|(objectclass=person)(objectclass=groupofnames)(mail=*))(|(cn=*Ägypten MDK*)(sn=*Ägypten MDK*))"; - connect( mClient, TQT_SIGNAL( result( const TDEABC::LdapObject& ) ), - this, TQT_SLOT( slotLDAPResult( const TDEABC::LdapObject& ) ) ); - connect( mClient, TQT_SIGNAL( done() ), - this, TQT_SLOT( slotLDAPDone() ) ); - connect( mClient, TQT_SIGNAL( error( const TQString& ) ), - this, TQT_SLOT( slotLDAPError( const TQString& ) ) ); + connect( mClient, TQ_SIGNAL( result( const TDEABC::LdapObject& ) ), + this, TQ_SLOT( slotLDAPResult( const TDEABC::LdapObject& ) ) ); + connect( mClient, TQ_SIGNAL( done() ), + this, TQ_SLOT( slotLDAPDone() ) ); + connect( mClient, TQ_SIGNAL( error( const TQString& ) ), + this, TQ_SLOT( slotLDAPError( const TQString& ) ) ); mClient->startQuery( filter ); kapp->eventLoop()->enterLoop(); delete mClient; mClient = 0; diff --git a/tdeabc/tests/testlock.cpp b/tdeabc/tests/testlock.cpp index f9d880753..d593945bf 100644 --- a/tdeabc/tests/testlock.cpp +++ b/tdeabc/tests/testlock.cpp @@ -77,11 +77,11 @@ LockWidget::LockWidget( const TQString &identifier ) TQPushButton *button = new TQPushButton( "Lock", this ); topLayout->addWidget( button ); - connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( lock() ) ); + connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( lock() ) ); button = new TQPushButton( "Unlock", this ); topLayout->addWidget( button ); - connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( unlock() ) ); + connect( button, TQ_SIGNAL( clicked() ), TQ_SLOT( unlock() ) ); } mLockView = new TQListView( this ); @@ -94,15 +94,15 @@ LockWidget::LockWidget( const TQString &identifier ) TQPushButton *quitButton = new TQPushButton( "Quit", this ); topLayout->addWidget( quitButton ); - connect( quitButton, TQT_SIGNAL( clicked() ), TQT_SLOT( close() ) ); + connect( quitButton, TQ_SIGNAL( clicked() ), TQ_SLOT( close() ) ); KDirWatch *watch = KDirWatch::self(); - connect( watch, TQT_SIGNAL( dirty( const TQString & ) ), - TQT_SLOT( updateLockView() ) ); - connect( watch, TQT_SIGNAL( created( const TQString & ) ), - TQT_SLOT( updateLockView() ) ); - connect( watch, TQT_SIGNAL( deleted( const TQString & ) ), - TQT_SLOT( updateLockView() ) ); + connect( watch, TQ_SIGNAL( dirty( const TQString & ) ), + TQ_SLOT( updateLockView() ) ); + connect( watch, TQ_SIGNAL( created( const TQString & ) ), + TQ_SLOT( updateLockView() ) ); + connect( watch, TQ_SIGNAL( deleted( const TQString & ) ), + TQ_SLOT( updateLockView() ) ); watch->addDir( Lock::locksDir() ); watch->startScan(); } |