summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/xmlnewsaccess.h
diff options
context:
space:
mode:
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