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/qtextengine_p.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/qtextengine_p.h') diff --git a/src/kernel/qtextengine_p.h b/src/kernel/qtextengine_p.h index 04faa33b0..751cdf043 100644 --- a/src/kernel/qtextengine_p.h +++ b/src/kernel/qtextengine_p.h @@ -86,7 +86,7 @@ struct glyph_metrics_t int yoff; }; -#if defined( Q_WS_X11 ) || defined ( Q_WS_QWS ) +#if defined( TQ_WS_X11 ) || defined ( TQ_WS_QWS ) typedef unsigned short glyph_t; struct qoffset_t { @@ -112,7 +112,7 @@ struct TQScriptAnalysis }; -#elif defined( Q_WS_MAC ) +#elif defined( TQ_WS_MAC ) typedef unsigned short glyph_t; @@ -139,7 +139,7 @@ struct TQScriptAnalysis }; -#elif defined( Q_WS_WIN ) +#elif defined( TQ_WS_WIN ) // do not change the definitions below unless you know what you are doing! // it is designed to be compatible with the types found in uniscribe. -- cgit v1.2.3