summaryrefslogtreecommitdiffstats
path: root/tdesu/kcookie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdesu/kcookie.cpp')
-rw-r--r--tdesu/kcookie.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdesu/kcookie.cpp b/tdesu/kcookie.cpp
index f5a2d547c..de3d3ad58 100644
--- a/tdesu/kcookie.cpp
+++ b/tdesu/kcookie.cpp
@@ -1,4 +1,4 @@
-/* vi: ts=8 sts=4 sw=4
+/*
*
* $Id$
*
@@ -27,13 +27,13 @@
#include <dcopclient.h>
#include <kdebug.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "kcookie.h"
KCookie::KCookie()
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
getXCookie();
#endif
setDcopTransport("local");
@@ -85,7 +85,7 @@ void KCookie::getXCookie()
char buf[1024];
FILE *f;
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
m_Display = getenv("DISPLAY");
#else
m_Display = getenv("QWS_DISPLAY");
@@ -95,7 +95,7 @@ void KCookie::getXCookie()
kdError(900) << k_lineinfo << "$DISPLAY is not set.\n";
return;
}
-#ifdef Q_WS_X11 // No need to mess with X Auth stuff
+#ifdef TQ_WS_X11 // No need to mess with X Auth stuff
TQCString disp = m_Display;
if (!memcmp(disp.data(), "localhost:", 10))
disp.remove(0, 9);