summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_input_device.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_input_device.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_input_device.h')
-rw-r--r--krita/ui/kis_input_device.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/krita/ui/kis_input_device.h b/krita/ui/kis_input_device.h
index 91c5ff4f..d85d4e3f 100644
--- a/krita/ui/kis_input_device.h
+++ b/krita/ui/kis_input_device.h
@@ -19,14 +19,14 @@
#ifndef KIS_INPUT_DEVICE_H_
#define KIS_INPUT_DEVICE_H_
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
class KisInputDevice {
public:
KisInputDevice();
static KisInputDevice allocateInputDevice();
- static QValueVector<KisInputDevice> inputDevices();
+ static TQValueVector<KisInputDevice> inputDevices();
friend inline bool operator==(const KisInputDevice&, const KisInputDevice&);
friend inline bool operator!=(const KisInputDevice&, const KisInputDevice&);
@@ -35,24 +35,24 @@ public:
friend inline bool operator>(const KisInputDevice &, const KisInputDevice &);
static KisInputDevice mouse(); // Standard mouse
- static KisInputDevice stylus(); // Wacom stylus via QTabletEvent
- static KisInputDevice eraser(); // Wacom eraser via QTabletEvent
- static KisInputDevice puck(); // Wacom puck via QTabletEvent
+ static KisInputDevice stylus(); // Wacom stylus via TQTabletEvent
+ static KisInputDevice eraser(); // Wacom eraser via TQTabletEvent
+ static KisInputDevice puck(); // Wacom puck via TQTabletEvent
static KisInputDevice unknown();
private:
- KisInputDevice(Q_INT32 id) : m_id(id) {}
+ KisInputDevice(TQ_INT32 id) : m_id(id) {}
- Q_INT32 id() const { return m_id; }
+ TQ_INT32 id() const { return m_id; }
static void allocateDefaultDevicesIfNeeded();
static KisInputDevice allocateNextDevice();
private:
- Q_INT32 m_id;
+ TQ_INT32 m_id;
- static Q_INT32 NextInputDeviceID;
- static QValueVector<KisInputDevice> InputDevices;
+ static TQ_INT32 NextInputDeviceID;
+ static TQValueVector<KisInputDevice> InputDevices;
static KisInputDevice Mouse;
static KisInputDevice Stylus;