summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedstorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feedstorage.h')
-rw-r--r--akregator/src/feedstorage.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/src/feedstorage.h b/akregator/src/feedstorage.h
index bbf36207..c0685695 100644
--- a/akregator/src/feedstorage.h
+++ b/akregator/src/feedstorage.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef AKREGATOR_BACKEND_FEEDSTORAGE_H
#define AKREGATOR_BACKEND_FEEDSTORAGE_H
@@ -55,7 +55,7 @@ class AKREGATOR_EXPORT Category
{
return !operator==(other);
}
- /** we need this for QMaps */
+ /** we need this for TQMaps */
bool operator<(const Category& other) const
{
return other.scheme < other.scheme || (other.scheme == other.scheme && term < other.term);
@@ -64,7 +64,7 @@ class AKREGATOR_EXPORT Category
class Storage;
-class AKREGATOR_EXPORT FeedStorage : public QObject
+class AKREGATOR_EXPORT FeedStorage : public TQObject
{
public:
@@ -75,12 +75,12 @@ 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 TQStringList articles(const TQString& tagID=TQString::null) = 0;
+ virtual TQStringList articles(const TQString& tagID=TQString()) = 0;
/** returns the guid of the articles in a given category */
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 tqreplaced by the article from the source
+ /** 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
*/
virtual void add(FeedStorage* source) = 0;
@@ -111,7 +111,7 @@ class AKREGATOR_EXPORT FeedStorage : public QObject
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 seStatus(const TQString& guid, int status) = 0;
+ virtual void setqStatus(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;
@@ -121,10 +121,10 @@ class AKREGATOR_EXPORT FeedStorage : public QObject
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 TQStringList tags(const TQString& guid=TQString::null) = 0;
+ virtual TQStringList tags(const TQString& guid=TQString()) = 0;
virtual void addCategory(const TQString& guid, const Category& category) = 0;
- virtual TQValueList<Category> categories(const TQString& guid=TQString::null) = 0;
+ virtual TQValueList<Category> categories(const TQString& guid=TQString()) = 0;
virtual void setEnclosure(const TQString& guid, const TQString& url, const TQString& type, int length) = 0;
virtual void removeEnclosure(const TQString& guid) = 0;