summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_tool_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_tool_manager.h')
-rw-r--r--krita/ui/kis_tool_manager.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/krita/ui/kis_tool_manager.h b/krita/ui/kis_tool_manager.h
index d56b16f9..8f04f680 100644
--- a/krita/ui/kis_tool_manager.h
+++ b/krita/ui/kis_tool_manager.h
@@ -20,7 +20,7 @@
#include <map>
-#include <qobject.h>
+#include <tqobject.h>
#include "kis_tool_controller.h"
#include "kis_global.h"
@@ -40,13 +40,14 @@ class KoToolBox;
* This class manages the activation and deactivation of tools for
* each input device.
*/
-class KisToolManager : public QObject, public KisToolControllerInterface {
+class KisToolManager : public TQObject, public KisToolControllerInterface {
Q_OBJECT
+ TQ_OBJECT
public:
- KisToolManager(KisCanvasSubject * parent, KisCanvasController * controller);
+ KisToolManager(KisCanvasSubject * tqparent, KisCanvasController * controller);
~KisToolManager();
public:
@@ -59,13 +60,13 @@ public:
void updateGUI();
virtual void setCurrentTool(KisTool *tool);
- virtual void setCurrentTool(const QString & toolName);
+ virtual void setCurrentTool(const TQString & toolName);
virtual KisTool *currentTool() const;
void setToolForInputDevice(KisInputDevice oldDevice, KisInputDevice newDevice);
- KisTool *findTool(const QString &toolName, KisInputDevice inputDevice = KisInputDevice::unknown()) const;
+ KisTool *findTool(const TQString &toolName, KisInputDevice inputDevice = KisInputDevice::unknown()) const;
void activateCurrentTool();