summaryrefslogtreecommitdiffstats
path: root/akregator/src/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/storage.h')
-rw-r--r--akregator/src/storage.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/akregator/src/storage.h b/akregator/src/storage.h
index 59dd410a4..3b53bb7ef 100644
--- a/akregator/src/storage.h
+++ b/akregator/src/storage.h
@@ -25,7 +25,7 @@
#ifndef AKREGATOR_BACKEND_STORAGE_H
#define AKREGATOR_BACKEND_STORAGE_H
-#include <qobject.h>
+#include <tqobject.h>
#include "akregator_export.h"
@@ -52,7 +52,7 @@ class AKREGATOR_EXPORT Storage : public QObject
/** initializes the storage object with given parameters */
- virtual void initialize(const QStringList& params) = 0;
+ virtual void initialize(const TQStringList& params) = 0;
/**
* Open storage and prepare it for work.
@@ -81,28 +81,28 @@ class AKREGATOR_EXPORT Storage : public QObject
/**
* @return Article archive for feed at given url.
*/
- virtual FeedStorage* archiveFor(const QString &url) = 0;
+ virtual FeedStorage* archiveFor(const TQString &url) = 0;
virtual bool autoCommit() const = 0;
- virtual int unreadFor(const QString &url) = 0;
- virtual void setUnreadFor(const QString &url, int unread) = 0;
- virtual int totalCountFor(const QString &url) = 0;
- virtual void setTotalCountFor(const QString &url, int total) = 0;
- virtual int lastFetchFor(const QString& url) = 0;
- virtual void setLastFetchFor(const QString& url, int lastFetch) = 0;
+ virtual int unreadFor(const TQString &url) = 0;
+ virtual void setUnreadFor(const TQString &url, int unread) = 0;
+ virtual int totalCountFor(const TQString &url) = 0;
+ virtual void setTotalCountFor(const TQString &url, int total) = 0;
+ virtual int lastFetchFor(const TQString& url) = 0;
+ virtual void setLastFetchFor(const TQString& url, int lastFetch) = 0;
/** stores the feed list in the storage backend. This is a fallback for the case that the
feeds.opml file gets corrupted
@param opmlStr the feed list in OPML format
*/
- virtual void storeFeedList(const QString& opmlStr) = 0;
- virtual QString restoreFeedList() const = 0;
+ virtual void storeFeedList(const TQString& opmlStr) = 0;
+ virtual TQString restoreFeedList() const = 0;
- virtual void storeTagSet(const QString& xmlStr) = 0;
- virtual QString restoreTagSet() const = 0;
+ virtual void storeTagSet(const TQString& xmlStr) = 0;
+ virtual TQString restoreTagSet() const = 0;
/** returns a list of all feeds (URLs) stored in this archive */
- virtual QStringList feeds() const = 0;
+ virtual TQStringList feeds() const = 0;
/** adds all feed storages from a source to this storage
existing articles are replaced