diff options
Diffstat (limited to 'akregator/src/feedstorage.h')
-rw-r--r-- | akregator/src/feedstorage.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/akregator/src/feedstorage.h b/akregator/src/feedstorage.h index eda8163d3..8ab9626e6 100644 --- a/akregator/src/feedstorage.h +++ b/akregator/src/feedstorage.h @@ -24,8 +24,8 @@ #ifndef AKREGATOR_BACKEND_FEEDSTORAGE_H #define AKREGATOR_BACKEND_FEEDSTORAGE_H -#include <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> #include "akregator_export.h" @@ -40,9 +40,9 @@ class AKREGATOR_EXPORT Category { public: - QString term; - QString scheme; - QString name; + TQString term; + TQString scheme; + TQString name; /** two categories are equal when scheme and term are equal, name is ignored */ @@ -75,10 +75,10 @@ class AKREGATOR_EXPORT FeedStorage : public QObject virtual void setLastFetch(int lastFetch) = 0; /** returns the guids of all articles in this storage. If a tagID is given, only articles with this tag are returned */ - virtual QStringList articles(const QString& tagID=QString::null) = 0; + virtual TQStringList articles(const TQString& tagID=TQString::null) = 0; /** returns the guid of the articles in a given category */ - virtual QStringList articles(const Category& cat) = 0; + virtual TQStringList articles(const Category& cat) = 0; /** Appends all articles from another storage. If there is already an article in this feed with the same guid, it is replaced by the article from the source @param source the archive which articles should be appended @@ -86,53 +86,53 @@ class AKREGATOR_EXPORT FeedStorage : public QObject virtual void add(FeedStorage* source) = 0; /** reads an article from another storage and adds it to this storage */ - virtual void copyArticle(const QString& guid, FeedStorage* source) = 0; + virtual void copyArticle(const TQString& guid, FeedStorage* source) = 0; /** deletes all articles from the archive */ virtual void clear() = 0; - virtual bool contains(const QString& guid) = 0; - virtual void addEntry(const QString& guid) = 0; - virtual void deleteArticle(const QString& guid) = 0; - virtual int comments(const QString& guid) = 0; - virtual QString commentsLink(const QString& guid) = 0; - virtual void setCommentsLink(const QString& guid, const QString& commentsLink) = 0; - virtual void setComments(const QString& guid, int comments) = 0; - virtual bool guidIsHash(const QString& guid) = 0; - virtual void setGuidIsHash(const QString& guid, bool isHash) = 0; - virtual bool guidIsPermaLink(const QString& guid) = 0; - virtual void setGuidIsPermaLink(const QString& guid, bool isPermaLink) = 0; - virtual uint hash(const QString& guid) = 0; - virtual void setHash(const QString& guid, uint hash) = 0; - virtual void setDeleted(const QString& guid) = 0; - virtual QString link(const QString& guid) = 0; - virtual void setLink(const QString& guid, const QString& link) = 0; - virtual uint pubDate(const QString& guid) = 0; - virtual void setPubDate(const QString& guid, uint pubdate) = 0; - virtual int status(const QString& guid) = 0; - virtual void setStatus(const QString& guid, int status) = 0; - virtual QString title(const QString& guid) = 0; - virtual void setTitle(const QString& guid, const QString& title) = 0; - virtual QString description(const QString& guid) = 0; - virtual void setDescription(const QString& guid, const QString& description) = 0; - - virtual void addTag(const QString& guid, const QString& tag) = 0; - virtual void removeTag(const QString& guid, const QString& tag) = 0; + virtual bool contains(const TQString& guid) = 0; + virtual void addEntry(const TQString& guid) = 0; + virtual void deleteArticle(const TQString& guid) = 0; + virtual int comments(const TQString& guid) = 0; + virtual TQString commentsLink(const TQString& guid) = 0; + virtual void setCommentsLink(const TQString& guid, const TQString& commentsLink) = 0; + virtual void setComments(const TQString& guid, int comments) = 0; + virtual bool guidIsHash(const TQString& guid) = 0; + virtual void setGuidIsHash(const TQString& guid, bool isHash) = 0; + virtual bool guidIsPermaLink(const TQString& guid) = 0; + virtual void setGuidIsPermaLink(const TQString& guid, bool isPermaLink) = 0; + virtual uint hash(const TQString& guid) = 0; + virtual void setHash(const TQString& guid, uint hash) = 0; + virtual void setDeleted(const TQString& guid) = 0; + virtual TQString link(const TQString& guid) = 0; + virtual void setLink(const TQString& guid, const TQString& link) = 0; + virtual uint pubDate(const TQString& guid) = 0; + virtual void setPubDate(const TQString& guid, uint pubdate) = 0; + virtual int status(const TQString& guid) = 0; + virtual void setStatus(const TQString& guid, int status) = 0; + virtual TQString title(const TQString& guid) = 0; + virtual void setTitle(const TQString& guid, const TQString& title) = 0; + virtual TQString description(const TQString& guid) = 0; + virtual void setDescription(const TQString& guid, const TQString& description) = 0; + + virtual void addTag(const TQString& guid, const TQString& tag) = 0; + virtual void removeTag(const TQString& guid, const TQString& tag) = 0; /** returns the tags of a given article. If @c guid is null, it returns all tags used in this feed */ - virtual QStringList tags(const QString& guid=QString::null) = 0; + virtual TQStringList tags(const TQString& guid=TQString::null) = 0; - virtual void addCategory(const QString& guid, const Category& category) = 0; - virtual QValueList<Category> categories(const QString& guid=QString::null) = 0; + virtual void addCategory(const TQString& guid, const Category& category) = 0; + virtual TQValueList<Category> categories(const TQString& guid=TQString::null) = 0; - virtual void setEnclosure(const QString& guid, const QString& url, const QString& type, int length) = 0; - virtual void removeEnclosure(const QString& guid) = 0; + virtual void setEnclosure(const TQString& guid, const TQString& url, const TQString& type, int length) = 0; + virtual void removeEnclosure(const TQString& guid) = 0; - virtual void setAuthor(const QString& /*guid*/, const QString& /*author*/) {} - virtual QString author(const QString& /*guid*/) { return QString(); } + virtual void setAuthor(const TQString& /*guid*/, const TQString& /*author*/) {} + virtual TQString author(const TQString& /*guid*/) { return TQString(); } - virtual void enclosure(const QString& guid, bool& hasEnclosure, QString& url, QString& type, int& length) = 0; + virtual void enclosure(const TQString& guid, bool& hasEnclosure, TQString& url, TQString& type, int& length) = 0; virtual void close() = 0; virtual void commit() = 0; virtual void rollback() = 0; |