summaryrefslogtreecommitdiffstats
path: root/dcoprss/rssnewsfeed.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /dcoprss/rssnewsfeed.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcoprss/rssnewsfeed.h')
-rw-r--r--dcoprss/rssnewsfeed.h72
1 files changed, 52 insertions, 20 deletions
diff --git a/dcoprss/rssnewsfeed.h b/dcoprss/rssnewsfeed.h
index ee300655..0741ac2b 100644
--- a/dcoprss/rssnewsfeed.h
+++ b/dcoprss/rssnewsfeed.h
@@ -82,31 +82,63 @@ class RSSNewsFeed
inline TQDataStream &operator<<( TQDataStream &stream, const RSSNewsFeed &feed )
{
- return stream << feed.m_id << feed.m_name << feed.m_description
- << feed.m_origin << feed.m_languageCode << feed.m_status
- << feed.m_version << feed.m_homePage << feed.m_sourceFile
- << feed.m_imageUrl << feed.m_webmaster << feed.m_publisher
- << feed.m_creator << feed.m_dateCreated << feed.m_dateApproved
- << feed.m_dateXmlChanged << feed.m_fetchable << feed.m_views
- << feed.m_headlinesPerDay << feed.m_headlinesRank
- << feed.m_toolkit << feed.m_toolkitVersion
- << feed.m_pollingInterval << feed.m_lastPoll
- << feed.m_categories;
+ stream << feed.m_id;
+ stream << feed.m_name;
+ stream << feed.m_description;
+ stream << feed.m_origin;
+ stream << feed.m_languageCode;
+ stream << feed.m_status;
+ stream << feed.m_version;
+ stream << feed.m_homePage;
+ stream << feed.m_sourceFile;
+ stream << feed.m_imageUrl;
+ stream << feed.m_webmaster;
+ stream << feed.m_publisher;
+ stream << feed.m_creator;
+ stream << feed.m_dateCreated;
+ stream << feed.m_dateApproved;
+ stream << feed.m_dateXmlChanged;
+ stream << feed.m_fetchable;
+ stream << feed.m_views;
+ stream << feed.m_headlinesPerDay;
+ stream << feed.m_headlinesRank;
+ stream << feed.m_toolkit;
+ stream << feed.m_toolkitVersion;
+ stream << feed.m_pollingInterval;
+ stream << feed.m_lastPoll;
+ stream << feed.m_categories;
+
+ return stream;
}
inline TQDataStream &operator>>( TQDataStream &stream, RSSNewsFeed &feed )
{
int i;
- stream >> feed.m_id >> feed.m_name >> feed.m_description
- >> feed.m_origin >> feed.m_languageCode >> feed.m_status
- >> feed.m_version >> feed.m_homePage >> feed.m_sourceFile
- >> feed.m_imageUrl >> feed.m_webmaster >> feed.m_publisher
- >> feed.m_creator >> feed.m_dateCreated >> feed.m_dateApproved
- >> feed.m_dateXmlChanged >> i >> feed.m_views
- >> feed.m_headlinesPerDay >> feed.m_headlinesRank
- >> feed.m_toolkit >> feed.m_toolkitVersion
- >> feed.m_pollingInterval >> feed.m_lastPoll
- >> feed.m_categories;
+ stream >> feed.m_id;
+ stream >> feed.m_name;
+ stream >> feed.m_description;
+ stream >> feed.m_origin;
+ stream >> feed.m_languageCode;
+ stream >> feed.m_status;
+ stream >> feed.m_version;
+ stream >> feed.m_homePage;
+ stream >> feed.m_sourceFile;
+ stream >> feed.m_imageUrl;
+ stream >> feed.m_webmaster;
+ stream >> feed.m_publisher;
+ stream >> feed.m_creator;
+ stream >> feed.m_dateCreated;
+ stream >> feed.m_dateApproved;
+ stream >> feed.m_dateXmlChanged;
+ stream >> i;
+ stream >> feed.m_views;
+ stream >> feed.m_headlinesPerDay;
+ stream >> feed.m_headlinesRank;
+ stream >> feed.m_toolkit;
+ stream >> feed.m_toolkitVersion;
+ stream >> feed.m_pollingInterval;
+ stream >> feed.m_lastPoll;
+ stream >> feed.m_categories;
feed.m_fetchable = i != 0;
return stream;
}