From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/adblock/adblock.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'konq-plugins/adblock/adblock.h') diff --git a/konq-plugins/adblock/adblock.h b/konq-plugins/adblock/adblock.h index 4b6154e..0a9b15b 100644 --- a/konq-plugins/adblock/adblock.h +++ b/konq-plugins/adblock/adblock.h @@ -21,8 +21,8 @@ #ifndef KONQ_ADBLOCK_H #define KONQ_ADBLOCK_H -#include -#include +#include +#include #include class KHTMLPart; @@ -41,18 +41,18 @@ namespace DOM class DOMString; } -typedef QValueList AdElementList; +typedef TQValueList AdElementList; class AdBlock : public KParts::Plugin { Q_OBJECT public: - AdBlock(QObject *parent, const char *name, const QStringList &); + AdBlock(TQObject *parent, const char *name, const TQStringList &); ~AdBlock(); private: - QGuardedPtr m_part; + TQGuardedPtr m_part; KURLLabel *m_label; KPopupMenu *m_menu; @@ -61,12 +61,12 @@ private: void fillWithHtmlTag(AdElementList &elements, const DOM::DOMString &tagName, const DOM::DOMString &attrName, - const QString &category); + const TQString &category); private slots: void initLabel(); void showDialogue(); - void addAdFilter(const QString &url); + void addAdFilter(const TQString &url); void contextMenu(); void showKCModule(); }; @@ -76,24 +76,24 @@ private slots: class AdElement { private: - QString m_url; - QString m_category; - QString m_type; + TQString m_url; + TQString m_category; + TQString m_type; bool m_blocked; public: AdElement(); - AdElement(const QString &url, const QString &category, - const QString &type, bool blocked); + AdElement(const TQString &url, const TQString &category, + const TQString &type, bool blocked); AdElement &operator=(const AdElement &); bool operator==(const AdElement &e1); bool isBlocked() const; void setBlocked(bool blocked); - const QString &url() const; - const QString &category() const; - const QString &type() const; + const TQString &url() const; + const TQString &category() const; + const TQString &type() const; }; #endif -- cgit v1.2.1