summaryrefslogtreecommitdiffstats
path: root/src/tqtraylabel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 11:30:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 18:56:13 +0900
commit0e49011417d3f5e1582af8608846dc19181bf208 (patch)
treecec1d6857d20a85e32d3e48e60672d18cd1e269f /src/tqtraylabel.cpp
parentdd6ed4e4d6b3cc8be75e2b1a8aaadc6eed0fb5c5 (diff)
downloadtdedocker-0e490114.tar.gz
tdedocker-0e490114.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 04e4c81e885b8090a775d88d525d4c66c6dcba05)
Diffstat (limited to 'src/tqtraylabel.cpp')
-rw-r--r--src/tqtraylabel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tqtraylabel.cpp b/src/tqtraylabel.cpp
index 7afed21..621b764 100644
--- a/src/tqtraylabel.cpp
+++ b/src/tqtraylabel.cpp
@@ -71,7 +71,7 @@ void TQTrayLabel::initialize(void)
mBalloon->setFont(TQToolTip::font());
mBalloon->setPalette(TQToolTip::palette());
mBalloon->setAlignment(TQt::AlignLeft | TQt::AlignTop);
- mBalloon->setAutoMask(FALSE);
+ mBalloon->setAutoMask(false);
mBalloon->setAutoResize(true);
setAlignment(TQt::AlignCenter);
setBackgroundMode(X11ParentRelative);
@@ -795,13 +795,13 @@ bool TQTrayLabel::x11EventFilter(XEvent *ev)
return true; // Dont process this again
}
- if (mDockedWindow != None || event->type != MapNotify) return FALSE;
+ if (mDockedWindow != None || event->type != MapNotify) return false;
TRACE("%s Will analyze window 0x%x", me(), (int)((XMapEvent *)event)->window);
// Check if this window is the soulmate we are looking for
Display *display = TQPaintDevice::x11AppDisplay();
Window w = XmuClientWindow(display, ((XMapEvent *) event)->window);
- if (!isNormalWindow(display, w)) return FALSE;
+ if (!isNormalWindow(display, w)) return false;
if (!analyzeWindow(display, w, mPid, TQFileInfo(appName()).fileName().local8Bit()))
{
return false;