From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knewsticker/common/xmlnewsaccess.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'knewsticker/common/xmlnewsaccess.h') diff --git a/knewsticker/common/xmlnewsaccess.h b/knewsticker/common/xmlnewsaccess.h index 91cbf77f..46cbab59 100644 --- a/knewsticker/common/xmlnewsaccess.h +++ b/knewsticker/common/xmlnewsaccess.h @@ -15,8 +15,8 @@ #include #endif -#include -#include +#include +#include #include #include @@ -28,15 +28,15 @@ class XMLNewsSource; class XMLNewsArticle { public: - typedef QValueList List; + typedef TQValueList List; XMLNewsArticle() {} - XMLNewsArticle(const QString &headline, const KURL &addresss); + XMLNewsArticle(const TQString &headline, const KURL &addresss); XMLNewsArticle(const XMLNewsArticle &other) { (*this) = other; } XMLNewsArticle &operator=(const XMLNewsArticle &other); - QString headline() const { return m_headline; } - void setHeadline(const QString &headline) { m_headline = headline; } + TQString headline() const { return m_headline; } + void setHeadline(const TQString &headline) { m_headline = headline; } KURL address() const { return m_address; } void setAddress(const KURL &address) { m_address = address; } @@ -45,7 +45,7 @@ class XMLNewsArticle bool operator!= (const XMLNewsArticle &a) { return !operator==(a); } private: - QString m_headline; + TQString m_headline; KURL m_address; }; @@ -59,28 +59,28 @@ class XMLNewsSource : public QObject void loadFrom(const KURL &); - virtual QString newsSourceName() const { return m_name; } - virtual QString link() const { return m_link; } - virtual QString description() const { return m_description; } + virtual TQString newsSourceName() const { return m_name; } + virtual TQString link() const { return m_link; } + virtual TQString description() const { return m_description; } const XMLNewsArticle::List &articles() const { return m_articles; } signals: void loadComplete(XMLNewsSource *, bool); protected: - void processData(const QByteArray &, bool = true); + void processData(const TQByteArray &, bool = true); - QString m_name; - QString m_link; - QString m_description; + TQString m_name; + TQString m_link; + TQString m_description; private slots: - void slotData(KIO::Job *, const QByteArray &); + void slotData(KIO::Job *, const TQByteArray &); void slotResult(KIO::Job *); private: XMLNewsArticle::List m_articles; - QBuffer *m_downloadData; + TQBuffer *m_downloadData; }; #endif // XMLNEWSACCESS_H -- cgit v1.2.1