summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_input_device.h
diff options
context:
space:
mode:
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;