diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:03:25 +0900 |
commit | 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0 (patch) | |
tree | 8b19225a3fc036d91571a5540dd9b42017ef54d2 /chalk/ui/kis_canvas.cpp | |
parent | 359ccbfc2d68e78aa05da43e2b51f358f1d940b1 (diff) | |
download | koffice-39ecff8fe9f78f3363caa0dd1bca64d68dd178b0.tar.gz koffice-39ecff8fe9f78f3363caa0dd1bca64d68dd178b0.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'chalk/ui/kis_canvas.cpp')
-rw-r--r-- | chalk/ui/kis_canvas.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_canvas.cpp b/chalk/ui/kis_canvas.cpp index 38df814e3..910a9e533 100644 --- a/chalk/ui/kis_canvas.cpp +++ b/chalk/ui/kis_canvas.cpp @@ -73,7 +73,7 @@ #include "kis_input_device.h" #include "fixx11h.h" -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 #include <tqdesktopwidget.h> #include <tqapplication.h> @@ -98,14 +98,14 @@ std::map<XID, KisCanvasWidget::X11TabletDevice> KisCanvasWidget::X11TabletDevice #endif // EXTENDED_X11_TABLET_SUPPORT -#endif // Q_WS_X11 +#endif // TQ_WS_X11 KisCanvasWidget::KisCanvasWidget() { m_enableMoveEventCompressionHint = false; m_lastPressure = 0; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 if (!X11SupportInitialised) { initX11Support(); } @@ -180,7 +180,7 @@ void KisCanvasWidget::widgetGotTabletEvent(TQTabletEvent *e) else { KisMoveEvent ke(device, KisPoint(e->pos()), KisPoint(e->globalPos()), pressure, e->xTilt(), e->yTilt(), TQt::NoButton); translateTabletEvent(&ke); -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 // Fix the problem that when you change from using a tablet device to the mouse, // the first mouse button event is not recognised. This is because we handle // X11 core mouse move events directly so TQt does not get to see them. This breaks @@ -292,7 +292,7 @@ void KisCanvasWidget::translateTabletEvent(KisEvent *e) m_lastPressure = e->pressure(); } -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 void KisCanvasWidget::initX11Support() { @@ -1058,7 +1058,7 @@ KisInputDevice KisCanvasWidget::findActiveInputDevice() #endif // EXTENDED_X11_TABLET_SUPPORT -#endif // Q_WS_X11 +#endif // TQ_WS_X11 /*************************************************************************/ |