summaryrefslogtreecommitdiffstats
path: root/tdefx
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-13 11:10:37 +0900
committerMichele Calgaro <[email protected]>2024-02-15 10:29:09 +0900
commit5e51787f9af4fd86450fab9e787b4037a772bca3 (patch)
treea792ad1d832ef77fd48f6c545d5bf35f8490d6eb /tdefx
parent3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff)
downloadtdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.tar.gz
tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
Diffstat (limited to 'tdefx')
-rw-r--r--tdefx/tdestyle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdefx/tdestyle.cpp b/tdefx/tdestyle.cpp
index a998943d9..2c741fc06 100644
--- a/tdefx/tdestyle.cpp
+++ b/tdefx/tdestyle.cpp
@@ -53,7 +53,7 @@
#include <kpixmapeffect.h>
#include <kimageeffect.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
# include <X11/Xlib.h>
# ifdef HAVE_XRENDER
# include <X11/extensions/Xrender.h> // schroder
@@ -2141,7 +2141,7 @@ TQImage TransparencyHandler::handleRealAlpha(TQImage img) {
// Create a shadow of thickness 4.
void TransparencyHandler::createShadowWindows(const TQWidget* p)
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
int x2 = p->x()+p->width();
int y2 = p->y()+p->height();
TQRect shadow1(x2, p->y() + 4, 4, p->height());
@@ -2200,7 +2200,7 @@ void TransparencyHandler::createShadowWindows(const TQWidget* p)
void TransparencyHandler::removeShadowWindows(const TQWidget* p)
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
ShadowMap::iterator it = shadowMap().find(p);
if (it != shadowMap().end())
{
@@ -2219,7 +2219,7 @@ void TransparencyHandler::removeShadowWindows(const TQWidget* p)
bool TransparencyHandler::eventFilter( TQObject* object, TQEvent* event )
{
-#if !defined Q_WS_MAC && !defined Q_WS_WIN
+#if !defined TQ_WS_MAC && !defined TQ_WS_WIN
// Transparency idea was borrowed from KDE2's "MegaGradient" Style,
// Copyright (C) 2000 Daniel M. Duley <[email protected]>