diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /dcoprss/rssnewsfeed.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcoprss/rssnewsfeed.h')
-rw-r--r-- | dcoprss/rssnewsfeed.h | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/dcoprss/rssnewsfeed.h b/dcoprss/rssnewsfeed.h index 3c2e04b5..ee300655 100644 --- a/dcoprss/rssnewsfeed.h +++ b/dcoprss/rssnewsfeed.h @@ -11,76 +11,76 @@ #ifndef RSSNEWSFEED_H #define RSSNEWSFEED_H -#include <qdatetime.h> -#include <qstringlist.h> -#include <qvariant.h> +#include <tqdatetime.h> +#include <tqstringlist.h> +#include <tqvariant.h> #include <kdatastream.h> class QueryService; class RSSNewsFeed { - friend QDataStream &operator>>( QDataStream &stream, RSSNewsFeed &feed ); - friend QDataStream &operator<<( QDataStream &stream, const RSSNewsFeed &feed ); + friend TQDataStream &operator>>( TQDataStream &stream, RSSNewsFeed &feed ); + friend TQDataStream &operator<<( TQDataStream &stream, const RSSNewsFeed &feed ); friend class QueryService; public: unsigned int id() const { return m_id; } - QString name() const { return m_name; } - QString description() const { return m_description; } - QString origin() const { return m_origin; } - QString languageCode() const { return m_languageCode; } - QString status() const { return m_status; } - QString version() const { return m_version; } - QString homePage() const { return m_homePage; } - QString sourceFile() const { return m_sourceFile; } - QString imageUrl() const { return m_imageUrl; } - QString webmaster() const { return m_webmaster; } - QString editor() const { return m_editor; } - QString publisher() const { return m_publisher; } - QString creator() const { return m_creator; } - const QDateTime &dateCreated() const { return m_dateCreated; } - const QDateTime &dateApproved() const { return m_dateApproved; } - const QDateTime dateXmlChanged() const { return m_dateXmlChanged; } + TQString name() const { return m_name; } + TQString description() const { return m_description; } + TQString origin() const { return m_origin; } + TQString languageCode() const { return m_languageCode; } + TQString status() const { return m_status; } + TQString version() const { return m_version; } + TQString homePage() const { return m_homePage; } + TQString sourceFile() const { return m_sourceFile; } + TQString imageUrl() const { return m_imageUrl; } + TQString webmaster() const { return m_webmaster; } + TQString editor() const { return m_editor; } + TQString publisher() const { return m_publisher; } + TQString creator() const { return m_creator; } + const TQDateTime &dateCreated() const { return m_dateCreated; } + const TQDateTime &dateApproved() const { return m_dateApproved; } + const TQDateTime dateXmlChanged() const { return m_dateXmlChanged; } bool fetchable() const { return m_fetchable; } unsigned int views() const { return m_views; } unsigned int headlinesPerDay() const { return m_headlinesPerDay; } unsigned int headlinesRank() const { return m_headlinesRank; } - QString toolkit() const { return m_toolkit; } - QString toolkitVersion() const { return m_toolkitVersion; } + TQString toolkit() const { return m_toolkit; } + TQString toolkitVersion() const { return m_toolkitVersion; } unsigned int pollingInterval() const { return m_pollingInterval; } - const QDateTime &lastPoll() const { return m_lastPoll; } - QStringList categories() const { return m_categories; } + const TQDateTime &lastPoll() const { return m_lastPoll; } + TQStringList categories() const { return m_categories; } private: unsigned int m_id; - QString m_name; - QString m_description; - QString m_origin; - QString m_languageCode; - QString m_status; - QString m_version; - QString m_homePage; - QString m_sourceFile; - QString m_imageUrl; - QString m_webmaster; - QString m_editor; - QString m_publisher; - QString m_creator; - QDateTime m_dateCreated; - QDateTime m_dateApproved; - QDateTime m_dateXmlChanged; + TQString m_name; + TQString m_description; + TQString m_origin; + TQString m_languageCode; + TQString m_status; + TQString m_version; + TQString m_homePage; + TQString m_sourceFile; + TQString m_imageUrl; + TQString m_webmaster; + TQString m_editor; + TQString m_publisher; + TQString m_creator; + TQDateTime m_dateCreated; + TQDateTime m_dateApproved; + TQDateTime m_dateXmlChanged; bool m_fetchable; unsigned int m_views; unsigned int m_headlinesPerDay; unsigned int m_headlinesRank; - QString m_toolkit; - QString m_toolkitVersion; + TQString m_toolkit; + TQString m_toolkitVersion; unsigned int m_pollingInterval; - QDateTime m_lastPoll; - QStringList m_categories; + TQDateTime m_lastPoll; + TQStringList m_categories; }; -inline QDataStream &operator<<( QDataStream &stream, const RSSNewsFeed &feed ) +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 @@ -94,7 +94,7 @@ inline QDataStream &operator<<( QDataStream &stream, const RSSNewsFeed &feed ) << feed.m_categories; } -inline QDataStream &operator>>( QDataStream &stream, RSSNewsFeed &feed ) +inline TQDataStream &operator>>( TQDataStream &stream, RSSNewsFeed &feed ) { int i; stream >> feed.m_id >> feed.m_name >> feed.m_description |