From 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 13 Feb 2024 11:03:25 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents Signed-off-by: Michele Calgaro --- chalk/ui/kis_canvas.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'chalk/ui/kis_canvas.h') 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 #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 { -- cgit v1.2.3