From b2fcd6f20191c7fc8557d99e9bbe26d2166a516a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 13 Feb 2024 11:09:49 +0900 Subject: Replace Q_WS_* defines with TQ_WS_* equivalents Signed-off-by: Michele Calgaro (cherry picked from commit 2d7d2122cf33aa713cebef95981305039c798003) --- kdesktop/bgmanager.h | 2 +- kdesktop/kdesktopapp.h | 2 +- kdesktop/lock/main.cpp | 2 +- kdesktop/lockeng.cpp | 2 +- kdesktop/main.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kdesktop') diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h index 99d30a7bd..d78ebebc3 100644 --- a/kdesktop/bgmanager.h +++ b/kdesktop/bgmanager.h @@ -16,7 +16,7 @@ #include #include -#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 +#if defined(TQ_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 #define COMPOSITE #endif diff --git a/kdesktop/kdesktopapp.h b/kdesktop/kdesktopapp.h index 465598a3d..1f45ec0a3 100644 --- a/kdesktop/kdesktopapp.h +++ b/kdesktop/kdesktopapp.h @@ -23,7 +23,7 @@ #include #include -#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 +#if defined(TQ_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 #define COMPOSITE #endif diff --git a/kdesktop/lock/main.cpp b/kdesktop/lock/main.cpp index f1407070c..f80f406a1 100644 --- a/kdesktop/lock/main.cpp +++ b/kdesktop/lock/main.cpp @@ -40,7 +40,7 @@ #include -#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 +#if defined(TQ_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 #define COMPOSITE #endif diff --git a/kdesktop/lockeng.cpp b/kdesktop/lockeng.cpp index e22fc4c7a..e121daaa1 100644 --- a/kdesktop/lockeng.cpp +++ b/kdesktop/lockeng.cpp @@ -445,7 +445,7 @@ bool SaverEngine::isBlanked() void SaverEngine::enableExports() { -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 kdDebug(270) << k_lineinfo << "activating background exports.\n"; DCOPClient *client = kapp->dcopClient(); if (!client->isAttached()) { diff --git a/kdesktop/main.cpp b/kdesktop/main.cpp index 8892778da..7435acd62 100644 --- a/kdesktop/main.cpp +++ b/kdesktop/main.cpp @@ -43,7 +43,7 @@ #include #include -#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 +#if defined(TQ_WS_X11) && defined(HAVE_XRENDER) && TQT_VERSION >= 0x030300 #define COMPOSITE #endif -- cgit v1.2.1