summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:03:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:03:26 +0900
commit17d6fb351b50efc8747551b65ac74b9b2e84820a (patch)
tree20a368e1250b2756d51010543fac77cf5649b10f
parent183355477fb2d6bd6429da51d7abd74f7950f207 (diff)
downloadkompose-17d6fb351b50efc8747551b65ac74b9b2e84820a.tar.gz
kompose-17d6fb351b50efc8747551b65ac74b9b2e84820a.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/komposeglobal.cpp2
-rw-r--r--src/komposeglobal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/komposeglobal.cpp b/src/komposeglobal.cpp
index 78735ed..02a9622 100644
--- a/src/komposeglobal.cpp
+++ b/src/komposeglobal.cpp
@@ -252,7 +252,7 @@ void KomposeGlobal::slotDone(bool success)
void KomposeGlobal::enablePixmapExports()
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
kdDebug() << "KomposeGlobal::enablePixmapExports()" << endl;
DCOPClient *client = kapp->dcopClient();
if (!client->isAttached())
diff --git a/src/komposeglobal.h b/src/komposeglobal.h
index 42da49b..69d5857 100644
--- a/src/komposeglobal.h
+++ b/src/komposeglobal.h
@@ -27,7 +27,7 @@ class KWinModule;
#include <config.h>
#endif
-#if defined(Q_WS_X11) && defined(HAVE_XCOMPOSITE) && defined(HAVE_XDAMAGE) && TQT_VERSION >= 0x030300
+#if defined(TQ_WS_X11) && defined(HAVE_XCOMPOSITE) && defined(HAVE_XDAMAGE) && TQT_VERSION >= 0x030300
# define COMPOSITE
#endif