diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:10:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 10:29:09 +0900 |
commit | 5e51787f9af4fd86450fab9e787b4037a772bca3 (patch) | |
tree | a792ad1d832ef77fd48f6c545d5bf35f8490d6eb /tdesu/kcookie.cpp | |
parent | 3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff) | |
download | tdelibs-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 'tdesu/kcookie.cpp')
-rw-r--r-- | tdesu/kcookie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdesu/kcookie.cpp b/tdesu/kcookie.cpp index 63013dae0..038715c8d 100644 --- a/tdesu/kcookie.cpp +++ b/tdesu/kcookie.cpp @@ -33,7 +33,7 @@ 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); |