summaryrefslogtreecommitdiffstats
path: root/plugins/rssfeed/rssarticle.cpp
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.cpp
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.cpp')
-rw-r--r--plugins/rssfeed/rssarticle.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/rssfeed/rssarticle.cpp b/plugins/rssfeed/rssarticle.cpp
index afc932d..a73b3c9 100644
--- a/plugins/rssfeed/rssarticle.cpp
+++ b/plugins/rssfeed/rssarticle.cpp
@@ -43,7 +43,7 @@ namespace kt
*this = other;
}
- RssArticle::RssArticle(QString title, KURL link, QString description, QDateTime pubDate, QString guid, int downloaded)
+ RssArticle::RssArticle(TQString title, KURL link, TQString description, TQDateTime pubDate, TQString guid, int downloaded)
{
m_title = title;
m_link = link;
@@ -74,20 +74,20 @@ namespace kt
return m_guid==other.guid();
}
- QDataStream &operator<<( QDataStream &out, const RssArticle &article )
+ TQDataStream &operator<<( TQDataStream &out, const RssArticle &article )
{
out << article.title() << article.link() << article.description() << article.pubDate() << article.guid() << article.downloaded();
return out;
}
- QDataStream &operator>>( QDataStream &in, RssArticle &article )
+ TQDataStream &operator>>( TQDataStream &in, RssArticle &article )
{
KURL link;
- QString title;
- QString description;
- QDateTime pubDate;
- QString guid;
+ TQString title;
+ TQString description;
+ TQDateTime pubDate;
+ TQString guid;
int downloaded;
in >> title >> link >> description >> pubDate >> guid >> downloaded;
article = RssArticle(title, link, description, pubDate, guid, downloaded);