summaryrefslogtreecommitdiffstats
path: root/src/gui/general/BaseTool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/BaseTool.h')
-rw-r--r--src/gui/general/BaseTool.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/general/BaseTool.h b/src/gui/general/BaseTool.h
index 71e6410..6dd6820 100644
--- a/src/gui/general/BaseTool.h
+++ b/src/gui/general/BaseTool.h
@@ -26,11 +26,11 @@
#ifndef _RG_BASETOOL_H_
#define _RG_BASETOOL_H_
-#include <qobject.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqstring.h>
-class QPopupMenu;
+class TQPopupMenu;
class KXMLGUIFactory;
@@ -76,10 +76,10 @@ public:
/**
* Retrieve current status-line type help for the tool, if any
*/
- virtual QString getCurrentContextHelp() const;
+ virtual TQString getCurrentContextHelp() const;
signals:
- void showContextHelp(const QString &);
+ void showContextHelp(const TQString &);
protected:
/**
@@ -87,22 +87,22 @@ protected:
*
* \a menuName : the name of the menu defined in the XML rc file
*/
- BaseTool(const QString& menuName, KXMLGUIFactory*, QObject* parent);
+ BaseTool(const TQString& menuName, KXMLGUIFactory*, TQObject* parent);
virtual void createMenu() = 0;
virtual bool hasMenu() { return false; }
- virtual void setContextHelp(const QString &help);
+ virtual void setContextHelp(const TQString &help);
virtual void clearContextHelp() { setContextHelp(""); }
//--------------- Data members ---------------------------------
- QString m_menuName;
- QPopupMenu* m_menu;
+ TQString m_menuName;
+ TQPopupMenu* m_menu;
KXMLGUIFactory* m_parentFactory;
- QString m_contextHelp;
+ TQString m_contextHelp;
};