summaryrefslogtreecommitdiffstats
path: root/akregator/src/storage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/storage.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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