summaryrefslogtreecommitdiffstats
path: root/akregator/src/article.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/article.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/article.h')
-rw-r--r--akregator/src/article.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/article.h b/akregator/src/article.h
index a4dae19c6..29bbfdd77 100644
--- a/akregator/src/article.h
+++ b/akregator/src/article.h
@@ -58,13 +58,13 @@ namespace Akregator
{
public:
enum Status { Unread=0, Read, New };
- typedef QValueList<Article> List;
+ typedef TQValueList<Article> List;
Article();
/** creates am article object for an existing article.
The constructor accesses the archive to load it's data
*/
- Article(const QString& guid, Feed* feed);
+ Article(const TQString& guid, Feed* feed);
/** creates an article object from a parsed librss Article
the article is added to the archive if not yet stored, or updated if stored but modified
*/
@@ -84,13 +84,13 @@ namespace Akregator
void offsetPubDate(int secs);
- QString title() const;
+ TQString title() const;
KURL link() const;
- QString author() const;
+ TQString author() const;
- QString description() const;
- QString guid() const;
+ TQString description() const;
+ TQString guid() const;
/** if true, the article should be kept even when expired **/
bool keep() const;
void setKeep(bool keep);
@@ -113,16 +113,16 @@ namespace Akregator
bool guidIsPermaLink() const;
- const QDateTime& pubDate() const;
+ const TQDateTime& pubDate() const;
KURL commentsLink() const;
int comments() const;
- void addTag(const QString& tag);
- void removeTag(const QString& tag);
- bool hasTag(const QString& tag) const;
- QStringList tags() const;
+ void addTag(const TQString& tag);
+ void removeTag(const TQString& tag);
+ bool hasTag(const TQString& tag) const;
+ TQStringList tags() const;
bool operator<(const Article &other) const;
bool operator<=(const Article &other) const;
@@ -132,7 +132,7 @@ namespace Akregator
private:
void initialize(RSS::Article article, Backend::FeedStorage* archive);
- static QString buildTitle(const QString& description);
+ static TQString buildTitle(const TQString& description);
int statusBits() const; // returns all of the status bits for the article. this
// differs from status() which only returns the most relevant