summaryrefslogtreecommitdiffstats
path: root/domino/domino.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-30 19:26:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 16:50:04 +0900
commit6161ba3a08e4b534fc6086213de12d75859b5e48 (patch)
tree7d7184199cc758422873b82ae933b985e5fff680 /domino/domino.cpp
parent404611daf471a18fa2095c2d550ce80830f606f6 (diff)
downloadtde-style-domino-r14.1.x.tar.gz
tde-style-domino-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 6092f1e1125fae6cd7289938854ce3e0ecc31cdd)
Diffstat (limited to 'domino/domino.cpp')
-rw-r--r--domino/domino.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/domino/domino.cpp b/domino/domino.cpp
index 636033d..a92de05 100644
--- a/domino/domino.cpp
+++ b/domino/domino.cpp
@@ -4887,27 +4887,27 @@ void DominoStyle::drawControl(ControlElement element,
tr.addCoords( 0, pr.bottom(), 0, -3 );
if(drawOutlinePixmap)
- drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignCenter;
} else {
pr.setWidth( pm.width() + 8 );
tr.addCoords( pr.right(), 0, 0, 0 );
if(drawOutlinePixmap)
- drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignLeft | AlignVCenter;
}
dominoDrawItem( p, tr, alignment, cg, enabled, 0, toolbutton->textLabel(), toolbutton->textLabel().length(), &btext, textEffectSettings.mode > 0 ? 1 : 0);
}
else {
if(drawOutlinePixmap)
- drawItem( p, rect, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, rect, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, rect, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, rect, AlignCenter, cg, true, &pm, TQString::null );
}
}
}
@@ -6785,7 +6785,7 @@ void DominoStyle::drawComplexControl(ComplexControl control,
if ( controls & SC_TitleBarSysMenu ) {
if ( widget->icon() ) {
ir = visualRect( querySubControlMetrics( CC_TitleBar, ceData, elementFlags, SC_TitleBarSysMenu, TQStyleOption::Default, widget ), widget );
- drawItem( p, ir, AlignCenter, widget->colorGroup(), TRUE, widget->icon(), TQString::null );
+ drawItem( p, ir, AlignCenter, widget->colorGroup(), true, widget->icon(), TQString::null );
}
}
@@ -7715,7 +7715,7 @@ void DominoStyle::dominoDrawItem( TQPainter *p, const TQRect &r,
bool clip = (flags & TQt::DontClip) == 0;
if ( clip ) {
if ( pm.width() < w && pm.height() < h ) {
- clip = FALSE;
+ clip = false;
} else {
p->save();
TQRegion cr = TQRect(x, y, w, h);