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 /dcoprss/query.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 <[email protected]>
Diffstat (limited to 'dcoprss/query.cpp')
-rw-r--r-- | dcoprss/query.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dcoprss/query.cpp b/dcoprss/query.cpp index dcaa556e..dcd6e515 100644 --- a/dcoprss/query.cpp +++ b/dcoprss/query.cpp @@ -31,7 +31,7 @@ void SlotCaller::call( TQObject *object, const char *slot, const KXMLRPC::Query::Result &result ) { SlotCaller caller; - connect( &caller, TQT_SIGNAL( signal( const KXMLRPC::Query::Result &) ), + connect( &caller, TQ_SIGNAL( signal( const KXMLRPC::Query::Result &) ), object, slot ); emit caller.signal( result ); } @@ -89,7 +89,7 @@ void QueryService::findFeeds( const TQString &query ) args << query << "headlines_rank"; cachedCall( "syndic8.FindFeeds", Server::toVariantList( args ), - TQT_SLOT( slotFoundFeeds( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotFoundFeeds( const KXMLRPC::Query::Result & ) ) ); } void QueryService::findSites( const TQString& query ) @@ -97,7 +97,7 @@ void QueryService::findSites( const TQString& query ) kdDebug() << "QueryService::findSites()" << endl; cachedCall( "syndic8.FindSites", Server::toVariantList( query ), - TQT_SLOT( slotFoundFeeds( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotFoundFeeds( const KXMLRPC::Query::Result & ) ) ); } void QueryService::getFeedInfo( const TQVariant& ids ) @@ -105,7 +105,7 @@ void QueryService::getFeedInfo( const TQVariant& ids ) kdDebug() << "QueryService::getFeedInfo()" << endl; cachedCall( "syndic8.GetFeedInfo", Server::toVariantList( ids ), - TQT_SLOT( slotGotFeedInfo( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotGotFeedInfo( const KXMLRPC::Query::Result & ) ) ); } void QueryService::getCategories( const TQString &category ) @@ -114,12 +114,12 @@ void QueryService::getCategories( const TQString &category ) if ( category == "Top" ) { cachedCall( "syndic8.GetCategoryRoots", Server::toVariantList( TQString::fromLatin1( "DMOZ" ) ), - TQT_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) ); } else { TQStringList args; args << "DMOZ" << category; cachedCall( "syndic8.GetCategoryChildren", Server::toVariantList( args ), - TQT_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotGotCategories( const KXMLRPC::Query::Result & ) ) ); } } @@ -131,7 +131,7 @@ void QueryService::getFeedsInCategory( const TQString &category ) args << "DMOZ" << category; cachedCall( "syndic8.GetFeedsInCategory", Server::toVariantList( args ), - TQT_SLOT( slotGotFeedsInCategory( const KXMLRPC::Query::Result & ) ) ); + TQ_SLOT( slotGotFeedsInCategory( const KXMLRPC::Query::Result & ) ) ); } void QueryService::slotFoundFeeds( const KXMLRPC::Query::Result &result ) |