diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /dcoprss/query.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
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 ) |