From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcoprss/query.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'dcoprss/query.h') diff --git a/dcoprss/query.h b/dcoprss/query.h index d87e0505..dbaf5093 100644 --- a/dcoprss/query.h +++ b/dcoprss/query.h @@ -24,10 +24,10 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include class RSSService; @@ -39,7 +39,7 @@ class SlotCaller : public QObject { Q_OBJECT public: - static void call( QObject *object, const char *slot, + static void call( TQObject *object, const char *slot, const KXMLRPC::Query::Result &value ); signals: @@ -49,7 +49,7 @@ class SlotCaller : public QObject SlotCaller() { } }; -class QueryService : public QObject, public DCOPObject +class QueryService : public TQObject, public DCOPObject { K_DCOP Q_OBJECT @@ -57,23 +57,23 @@ class QueryService : public QObject, public DCOPObject QueryService( RSSService *service ); k_dcop_signals: - void feedIds( QValueList ids ); - void feedInfo(QMap links); - void feedInfo(QValueList feeds); - void gotCategories( const QStringList &categories ); - void gotFeedsInCategory( const QValueList &ids ); + void feedIds( TQValueList ids ); + void feedInfo(TQMap links); + void feedInfo(TQValueList feeds); + void gotCategories( const TQStringList &categories ); + void gotFeedsInCategory( const TQValueList &ids ); k_dcop: /** * Lists the active feeds in use... **/ - QStringList listActive(); // just for testing... + TQStringList listActive(); // just for testing... /** * Query the www.syndic8.com XML-RPC interface for the * string. The RSS ids are treturned in a integer list. **/ - void findFeeds( const QString& query ); + void findFeeds( const TQString& query ); /** * Query the www.syndic8.com XML-RPC interface for the @@ -81,26 +81,26 @@ class QueryService : public QObject, public DCOPObject * each feed in the feed list. The RSS ids are treturned * in a integer list. **/ - void findSites( const QString& query ); + void findSites( const TQString& query ); /** * Query the www.syndic8.com XML-RPC interface for the - * requested RSS feed(s). Returned is a QMap with the format + * requested RSS feed(s). Returned is a TQMap with the format * of Name (Site URL), RSS URL **/ - void getFeedInfo( const QVariant& ids ); + void getFeedInfo( const TQVariant& ids ); /** * Returns the list of subcategories in the specified category. * If no "Top" is specified, the root categories are returned. */ - void getCategories( const QString &category ); + void getCategories( const TQString &category ); /** * Queries the database for the list of needsfeed ID's which are * associated with the given category. */ - void getFeedsInCategory( const QString &category ); + void getFeedsInCategory( const TQString &category ); private slots: @@ -110,7 +110,7 @@ class QueryService : public QObject, public DCOPObject void slotGotFeedsInCategory( const KXMLRPC::Query::Result &result ); private: - void cachedCall( const QString &method, const QValueList &args, + void cachedCall( const TQString &method, const TQValueList &args, const char *slot ); void updateCache( const KXMLRPC::Query::Result &result ); -- cgit v1.2.1