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/ntqeventloop.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/ntqeventloop.h') diff --git a/src/kernel/ntqeventloop.h b/src/kernel/ntqeventloop.h index 9f802dbd2..deca8d061 100644 --- a/src/kernel/ntqeventloop.h +++ b/src/kernel/ntqeventloop.h @@ -54,7 +54,7 @@ class TQEventLoopPrivate; class TQSocketNotifier; class TQTimer; -#ifdef Q_WS_MAC +#ifdef TQ_WS_MAC struct timeval; //stdc struct struct TimerInfo; //internal structure (qeventloop_mac.cpp) #endif @@ -109,11 +109,11 @@ signals: void aboutToBlock(); private: -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) friend TQMAC_PASCAL void qt_mac_select_timer_callbk(EventLoopTimerRef, void *); int macHandleSelect(timeval *); void macHandleTimer(TimerInfo *); -#endif // Q_WS_MAC +#endif // TQ_WS_MAC // internal initialization/cleanup - implemented in various platform specific files void init(); -- cgit v1.2.3