summaryrefslogtreecommitdiffstats
path: root/tdecore/kipc.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:10:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-15 10:29:09 +0900
commit5e51787f9af4fd86450fab9e787b4037a772bca3 (patch)
treea792ad1d832ef77fd48f6c545d5bf35f8490d6eb /tdecore/kipc.cpp
parent3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff)
downloadtdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.tar.gz
tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
Diffstat (limited to 'tdecore/kipc.cpp')
-rw-r--r--tdecore/kipc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kipc.cpp b/tdecore/kipc.cpp
index e6ec7cc4e..8e6da23e2 100644
--- a/tdecore/kipc.cpp
+++ b/tdecore/kipc.cpp
@@ -30,7 +30,7 @@
#include <tqevent.h>
#include <tqwindowdefs.h>
-#if defined Q_WS_X11
+#if defined TQ_WS_X11
#include <X11/X.h>
#include <X11/Xlib.h>
#include <kxerrorhandler.h>
@@ -39,7 +39,7 @@
#include <kipc.h>
-#if defined Q_WS_X11
+#if defined TQ_WS_X11
static long getSimpleProperty(Window w, Atom a)
{
Atom real_type;
@@ -59,7 +59,7 @@ static long getSimpleProperty(Window w, Atom a)
void KIPC::sendMessage(Message msg, WId w, int data)
{
-#if defined Q_WS_X11
+#if defined TQ_WS_X11
static Atom a = 0;
if (a == 0)
a = XInternAtom(tqt_xdisplay(), "KIPC_COMM_ATOM", False);
@@ -88,7 +88,7 @@ void KIPC::sendMessage(Message msg, WId w, int data)
void KIPC::sendMessageAll(Message msg, int data)
{
-#if defined Q_WS_X11
+#if defined TQ_WS_X11
unsigned int i, nrootwins;
Window dw1, dw2, *rootwins = 0;
Display *dpy = tqt_xdisplay();