From 473cd1e8a525d82f49e936d76daabe3d094a8807 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Feb 2024 14:08:42 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf) --- src/kernel/qprinter_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/qprinter_unix.cpp') diff --git a/src/kernel/qprinter_unix.cpp b/src/kernel/qprinter_unix.cpp index 5141f7b19..3fed326c5 100644 --- a/src/kernel/qprinter_unix.cpp +++ b/src/kernel/qprinter_unix.cpp @@ -126,7 +126,7 @@ TQPrinter::TQPrinter( PrinterMode m ) paper_source = OnlyOne; switch ( m ) { case ScreenResolution: -#ifdef Q_WS_QWS +#ifdef TQ_WS_QWS res = 72; #else res = TQPaintDevice::x11AppDpiY(); -- cgit v1.2.3