summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rellinks/plugin_rellinks.h
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/rellinks/plugin_rellinks.h')
-rw-r--r--konq-plugins/rellinks/plugin_rellinks.h22
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_