summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/xmlnewsaccess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/common/xmlnewsaccess.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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 'knewsticker/common/xmlnewsaccess.h')
-rw-r--r--knewsticker/common/xmlnewsaccess.h32
1 files changed, 16 insertions, 16 deletions
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 <config.h>
#endif
-#include <qvaluelist.h>
-#include <qobject.h>
+#include <tqvaluelist.h>
+#include <tqobject.h>
#include <kio/job.h>
#include <kurl.h>
@@ -28,15 +28,15 @@ class XMLNewsSource;
class XMLNewsArticle
{
public:
- typedef QValueList<XMLNewsArticle> List;
+ typedef TQValueList<XMLNewsArticle> 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