summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_canvas.h')
-rw-r--r--chalk/ui/kis_canvas.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_canvas.h b/chalk/ui/kis_canvas.h
index 737ca5d86..b5b883e02 100644
--- a/chalk/ui/kis_canvas.h
+++ b/chalk/ui/kis_canvas.h
@@ -36,10 +36,10 @@
#include "kis_input_device.h"
#ifdef Q_MOC_RUN
-#define Q_WS_X11
+#define TQ_WS_X11
#endif // Q_MOC_RUN
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
// Irix has a different (and better) XInput tablet driver to
// the XFree/xorg driver. TQt needs a separate code path for that
@@ -55,7 +55,7 @@
#include <X11/extensions/XInput.h>
#endif
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
class KisEvent;
class KisMoveEvent;
@@ -86,7 +86,7 @@ public:
static void selectTabletDeviceEvents(TQWidget *widget);
#endif
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
static void initX11Support();
#endif
@@ -129,7 +129,7 @@ protected:
bool m_enableMoveEventCompressionHint;
double m_lastPressure;
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
// On X11 systems, TQt throws away mouse move events if the application
// is unable to keep up with them. We override this behaviour so that
// we receive all move events, so that painting follows the mouse's motion
@@ -278,7 +278,7 @@ protected:
#endif // EXTENDED_X11_TABLET_SUPPORT
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
};
class KisCanvas : public TQObject {