diff options
author | Michele Calgaro <[email protected]> | 2024-02-13 11:03:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-14 21:18:10 +0900 |
commit | a50710e67a198aa583d1d8cdf73b6fd9c59900e2 (patch) | |
tree | 4d6e1d28342cd7d5b7907ec23f57303a28e027f2 /chalk/ui/kis_canvas.h | |
parent | 67aa6b188ef42c2162da6172856ffbd4d7789414 (diff) | |
download | koffice-a50710e67a198aa583d1d8cdf73b6fd9c59900e2.tar.gz koffice-a50710e67a198aa583d1d8cdf73b6fd9c59900e2.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0)
Diffstat (limited to 'chalk/ui/kis_canvas.h')
-rw-r--r-- | chalk/ui/kis_canvas.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_canvas.h b/chalk/ui/kis_canvas.h index 737ca5d8..b5b883e0 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 { |