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-14 21:18:10 +0900 |
| commit | a50710e67a198aa583d1d8cdf73b6fd9c59900e2 (patch) | |
| tree | 4d6e1d28342cd7d5b7907ec23f57303a28e027f2 /chalk/ui/kis_canvas.cpp | |
| parent | 67aa6b188ef42c2162da6172856ffbd4d7789414 (diff) | |
| download | koffice-a50710e6.tar.gz koffice-a50710e6.zip | |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 39ecff8fe9f78f3363caa0dd1bca64d68dd178b0)
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 /*************************************************************************/ |
