diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/mk4storage/feedstoragemk4impl.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/mk4storage/feedstoragemk4impl.h')
-rw-r--r-- | akregator/src/mk4storage/feedstoragemk4impl.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/akregator/src/mk4storage/feedstoragemk4impl.h b/akregator/src/mk4storage/feedstoragemk4impl.h index d27933d0f..b6fea2e86 100644 --- a/akregator/src/mk4storage/feedstoragemk4impl.h +++ b/akregator/src/mk4storage/feedstoragemk4impl.h @@ -32,12 +32,12 @@ class StorageMK4Impl; class FeedStorageMK4Impl : public FeedStorage { public: - FeedStorageMK4Impl(const QString& url, StorageMK4Impl* main); + FeedStorageMK4Impl(const TQString& url, StorageMK4Impl* main); virtual ~FeedStorageMK4Impl(); virtual void add(FeedStorage* source); - virtual void copyArticle(const QString& guid, FeedStorage* source); + virtual void copyArticle(const TQString& guid, FeedStorage* source); virtual void clear(); virtual int unread(); @@ -46,47 +46,47 @@ class FeedStorageMK4Impl : public FeedStorage virtual int lastFetch(); virtual void setLastFetch(int lastFetch); - virtual QStringList articles(const QString& tag=QString::null); + virtual TQStringList articles(const TQString& tag=TQString::null); - virtual QStringList articles(const Category& cat); + virtual TQStringList articles(const Category& cat); - virtual bool contains(const QString& guid); - virtual void addEntry(const QString& guid); - virtual void deleteArticle(const QString& guid); - virtual int comments(const QString& guid); - virtual QString commentsLink(const QString& guid); - virtual void setCommentsLink(const QString& guid, const QString& commentsLink); - virtual void setComments(const QString& guid, int comments); - virtual bool guidIsHash(const QString& guid); - virtual void setGuidIsHash(const QString& guid, bool isHash); - virtual bool guidIsPermaLink(const QString& guid); - virtual void setGuidIsPermaLink(const QString& guid, bool isPermaLink); - virtual uint hash(const QString& guid); - virtual void setHash(const QString& guid, uint hash); - virtual void setDeleted(const QString& guid); - virtual QString link(const QString& guid); - virtual void setLink(const QString& guid, const QString& link); - virtual uint pubDate(const QString& guid); - virtual void setPubDate(const QString& guid, uint pubdate); - virtual int status(const QString& guid); - virtual void setStatus(const QString& guid, int status); - virtual QString title(const QString& guid); - virtual void setTitle(const QString& guid, const QString& title); - virtual QString description(const QString& guid); - virtual void setDescription(const QString& guid, const QString& description); - virtual void setEnclosure(const QString& guid, const QString& url, const QString& type, int length); - virtual void removeEnclosure(const QString& guid); - virtual void enclosure(const QString& guid, bool& hasEnclosure, QString& url, QString& type, int& length); + virtual bool contains(const TQString& guid); + virtual void addEntry(const TQString& guid); + virtual void deleteArticle(const TQString& guid); + virtual int comments(const TQString& guid); + virtual TQString commentsLink(const TQString& guid); + virtual void setCommentsLink(const TQString& guid, const TQString& commentsLink); + virtual void setComments(const TQString& guid, int comments); + virtual bool guidIsHash(const TQString& guid); + virtual void setGuidIsHash(const TQString& guid, bool isHash); + virtual bool guidIsPermaLink(const TQString& guid); + virtual void setGuidIsPermaLink(const TQString& guid, bool isPermaLink); + virtual uint hash(const TQString& guid); + virtual void setHash(const TQString& guid, uint hash); + virtual void setDeleted(const TQString& guid); + virtual TQString link(const TQString& guid); + virtual void setLink(const TQString& guid, const TQString& link); + virtual uint pubDate(const TQString& guid); + virtual void setPubDate(const TQString& guid, uint pubdate); + virtual int status(const TQString& guid); + virtual void setStatus(const TQString& guid, int status); + virtual TQString title(const TQString& guid); + virtual void setTitle(const TQString& guid, const TQString& title); + virtual TQString description(const TQString& guid); + virtual void setDescription(const TQString& guid, const TQString& description); + virtual void setEnclosure(const TQString& guid, const TQString& url, const TQString& type, int length); + virtual void removeEnclosure(const TQString& guid); + virtual void enclosure(const TQString& guid, bool& hasEnclosure, TQString& url, TQString& type, int& length); - virtual void addTag(const QString& guid, const QString& tag); - virtual void removeTag(const QString& guid, const QString& tag); - virtual QStringList tags(const QString& guid=QString::null); + virtual void addTag(const TQString& guid, const TQString& tag); + virtual void removeTag(const TQString& guid, const TQString& tag); + virtual TQStringList tags(const TQString& guid=TQString::null); - virtual void addCategory(const QString& guid, const Category& category); - virtual QValueList<Category> categories(const QString& guid=QString::null); + virtual void addCategory(const TQString& guid, const Category& category); + virtual TQValueList<Category> categories(const TQString& guid=TQString::null); - virtual void setAuthor(const QString& guid, const QString& author); - virtual QString author(const QString& guid); + virtual void setAuthor(const TQString& guid, const TQString& author); + virtual TQString author(const TQString& guid); virtual void close(); virtual void commit(); @@ -96,7 +96,7 @@ class FeedStorageMK4Impl : public FeedStorage private: void markDirty(); /** finds article by guid, returns -1 if not in archive **/ - int findArticle(const QString& guid); + int findArticle(const TQString& guid); void setTotalCount(int total); class FeedStorageMK4ImplPrivate; FeedStorageMK4ImplPrivate* d; |