summaryrefslogtreecommitdiffstats
path: root/tdecore/kipc.cpp
diff options
context:
space:
mode:
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();