summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextZoomHandler.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-13 11:03:25 +0900
committerMichele Calgaro <[email protected]>2024-02-14 21:18:10 +0900
commita50710e67a198aa583d1d8cdf73b6fd9c59900e2 (patch)
tree4d6e1d28342cd7d5b7907ec23f57303a28e027f2 /lib/kotext/KoTextZoomHandler.cpp
parent67aa6b188ef42c2162da6172856ffbd4d7789414 (diff)
downloadkoffice-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 'lib/kotext/KoTextZoomHandler.cpp')
-rw-r--r--lib/kotext/KoTextZoomHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kotext/KoTextZoomHandler.cpp b/lib/kotext/KoTextZoomHandler.cpp
index e9fc430f..1b6c4bdf 100644
--- a/lib/kotext/KoTextZoomHandler.cpp
+++ b/lib/kotext/KoTextZoomHandler.cpp
@@ -40,7 +40,7 @@ double KoTextZoomHandler::layoutUnitToFontSize( int luSize, bool /*forPrint*/ )
{
// TQt will use TQPaintDevice::x11AppDpiY() to go from pt to pixel for fonts
return layoutUnitPtToPt( luSize ) * m_zoomedResolutionY
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
/ POINT_TO_INCH(TQPaintDevice::x11AppDpiY())
#endif
;