summaryrefslogtreecommitdiffstats
path: root/plugins/rssfeed/rssarticle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/rssfeed/rssarticle.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/rssfeed/rssarticle.h')
-rw-r--r--plugins/rssfeed/rssarticle.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/plugins/rssfeed/rssarticle.h b/plugins/rssfeed/rssarticle.h
index 4d8c536..e727456 100644
--- a/plugins/rssfeed/rssarticle.h
+++ b/plugins/rssfeed/rssarticle.h
@@ -20,9 +20,9 @@
#ifndef RSSARTICLE_H
#define RSSARTICLE_H
-#include <qstring.h>
-#include <qdatetime.h>
-#include <qdatastream.h>
+#include <tqstring.h>
+#include <tqdatetime.h>
+#include <tqdatastream.h>
#include <kurl.h>
@@ -41,7 +41,7 @@ namespace kt
{
public:
- typedef QValueList<RssArticle> List;
+ typedef TQValueList<RssArticle> List;
/**
* Default constructor.
@@ -51,31 +51,31 @@ namespace kt
RssArticle(const RssArticle &other);
RssArticle &operator=(const RssArticle &other);
bool operator==(const RssArticle &other) const;
- RssArticle(QString title, KURL link, QString description, QDateTime pubDate, QString guid, int downloaded = 0);
+ RssArticle(TQString title, KURL link, TQString description, TQDateTime pubDate, TQString guid, int downloaded = 0);
- void setTitle(const QString& title) { m_title=title; }
+ void setTitle(const TQString& title) { m_title=title; }
void setDownloaded(const int downloaded) { m_downloaded=downloaded; }
- QString title() const { return m_title; }
+ TQString title() const { return m_title; }
KURL link() const { return m_link; }
- QString description() const { return m_description; }
- QDateTime pubDate() const { return m_pubDate; }
- QString guid() const { return m_guid; }
+ TQString description() const { return m_description; }
+ TQDateTime pubDate() const { return m_pubDate; }
+ TQString guid() const { return m_guid; }
int downloaded() const { return m_downloaded; }
~RssArticle();
private:
KURL m_link;
- QString m_title;
- QString m_description;
- QDateTime m_pubDate;
- QString m_guid;
+ TQString m_title;
+ TQString m_description;
+ TQDateTime m_pubDate;
+ TQString m_guid;
int m_downloaded;
};
- QDataStream &operator<<( QDataStream &out, const RssArticle &article );
- QDataStream &operator>>( QDataStream &in, RssArticle &article );
+ TQDataStream &operator<<( TQDataStream &out, const RssArticle &article );
+ TQDataStream &operator>>( TQDataStream &in, RssArticle &article );
}