diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/rellinks/plugin_rellinks.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/rellinks/plugin_rellinks.h')
-rw-r--r-- | konq-plugins/rellinks/plugin_rellinks.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/rellinks/plugin_rellinks.h b/konq-plugins/rellinks/plugin_rellinks.h index 63260ce..e856e4a 100644 --- a/konq-plugins/rellinks/plugin_rellinks.h +++ b/konq-plugins/rellinks/plugin_rellinks.h @@ -31,16 +31,16 @@ */ // Qt includes -#include <qmap.h> +#include <tqmap.h> // KDE includes #include <kparts/plugin.h> #include <dom/dom_string.h> // type definitions -typedef QMap<int,DOM::Element> DOMElementMap; -typedef QMap<QString, KAction*> KActionMap; -typedef QMap<QString, KActionMenu*> KActionMenuMap; +typedef TQMap<int,DOM::Element> DOMElementMap; +typedef TQMap<TQString, KAction*> KActionMap; +typedef TQMap<TQString, KActionMenu*> KActionMenuMap; // forward declarations class KActionMenu; @@ -59,11 +59,11 @@ class RelLinksPlugin : public KParts::Plugin { Q_OBJECT public: /** Constructor */ - RelLinksPlugin( QObject *parent, const char *name, const QStringList & ); + RelLinksPlugin( TQObject *parent, const char *name, const TQStringList & ); /** Destructor */ virtual ~RelLinksPlugin(); - bool eventFilter(QObject *watched, QEvent* event); + bool eventFilter(TQObject *watched, TQEvent* event); private slots: void delayedSetup(); @@ -125,7 +125,7 @@ private: * @param lrel Previous relation name * @return New relation name */ - QString getLinkType(const QString &lrel); + TQString getLinkType(const TQString &lrel); /** * Function used to return the "rel" equivalent of "rev" link type @@ -133,7 +133,7 @@ private: * @param rev Inverse relation name * @return Equivalent relation name */ - QString transformRevToRel(const QString &rev) ; + TQString transformRevToRel(const TQString &rev) ; /** * Function used to disable all the item of the toolbar @@ -145,7 +145,7 @@ private: * @param rel Relation name * @param id Identifier of the menu item */ - void goToLink(const QString & rel, int id=0); + void goToLink(const TQString & rel, int id=0); private: KHTMLPart* m_part; @@ -162,9 +162,9 @@ private: KActionMenuMap kactionmenu_map; /** Map of all the link element which can be managed by rellinks */ - QMap<QString,DOMElementMap> element_map; + TQMap<TQString,DOMElementMap> element_map; - QTimer* m_pollTimer; + TQTimer* m_pollTimer; }; #endif // _PLUGIN_RELLINKS_H_ |