summaryrefslogtreecommitdiffstats
path: root/dcoprss/query.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcoprss/query.h')
-rw-r--r--dcoprss/query.h38
1 files changed, 19 insertions, 19 deletions
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 <dcopobject.h>
-#include <qmap.h>
-#include <qobject.h>
-#include <qvaluelist.h>
-#include <qvariant.h>
+#include <tqmap.h>
+#include <tqobject.h>
+#include <tqvaluelist.h>
+#include <tqvariant.h>
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<int> ids );
- void feedInfo(QMap<QString, QString> links);
- void feedInfo(QValueList<RSSNewsFeed> feeds);
- void gotCategories( const QStringList &categories );
- void gotFeedsInCategory( const QValueList<int> &ids );
+ void feedIds( TQValueList<int> ids );
+ void feedInfo(TQMap<TQString, TQString> links);
+ void feedInfo(TQValueList<RSSNewsFeed> feeds);
+ void gotCategories( const TQStringList &categories );
+ void gotFeedsInCategory( const TQValueList<int> &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<QVariant> &args,
+ void cachedCall( const TQString &method, const TQValueList<TQVariant> &args,
const char *slot );
void updateCache( const KXMLRPC::Query::Result &result );