From 1c1403293485f35fd53db45aaa77a01cdd9627e7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 20:34:15 +0000 Subject: 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 --- plugins/rssfeed/rssarticle.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/rssfeed/rssarticle.cpp') 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); -- cgit v1.2.3