summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_tool_manager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_tool_manager.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();