summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedstorage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /akregator/src/feedstorage.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 bbf362078..c0685695a 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;