diff options
Diffstat (limited to 'krita/ui/kis_event.h')
-rw-r--r-- | krita/ui/kis_event.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/krita/ui/kis_event.h b/krita/ui/kis_event.h index 3d4d21bc..417a9168 100644 --- a/krita/ui/kis_event.h +++ b/krita/ui/kis_event.h @@ -18,7 +18,7 @@ #ifndef KIS_EVENT_H_ #define KIS_EVENT_H_ -#include <qevent.h> +#include <tqevent.h> #include "kis_point.h" #include "kis_input_device.h" @@ -34,7 +34,7 @@ public: }; KisEvent() : m_type(UnknownEvent), m_device(KisInputDevice::unknown()) {} - KisEvent(enumEventType type, KisInputDevice device, const KisPoint& pos, const KisPoint& globalPos, double pressure, double xTilt, double yTilt, Qt::ButtonState state) : m_type(type), m_device(device), m_pos(pos), m_globalPos(globalPos), m_pressure(pressure), m_xTilt(xTilt), m_yTilt(yTilt), m_state(state) {} + KisEvent(enumEventType type, KisInputDevice device, const KisPoint& pos, const KisPoint& globalPos, double pressure, double xTilt, double yTilt, TQt::ButtonState state) : m_type(type), m_device(device), m_pos(pos), m_globalPos(globalPos), m_pressure(pressure), m_xTilt(xTilt), m_yTilt(yTilt), m_state(state) {} enumEventType type() const { return m_type; } KisInputDevice device() const { return m_device; } @@ -45,7 +45,7 @@ public: double pressure() const { return m_pressure; } double xTilt() const { return m_xTilt; } double yTilt() const { return m_yTilt; } - Qt::ButtonState state() const { return m_state; } + TQt::ButtonState state() const { return m_state; } protected: enumEventType m_type; @@ -55,7 +55,7 @@ protected: double m_pressure; double m_xTilt; double m_yTilt; - Qt::ButtonState m_state; + TQt::ButtonState m_state; }; #endif // KIS_EVENT_H_ |