summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqdrawutil.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 15:17:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 19:38:03 +0900
commit7d612f7c91d55501276a385a30dbadb121e7bd9f (patch)
tree4c6f1546e16db32779dfbf5c9e107b938faee6bb /src/kernel/tqdrawutil.cpp
parent5a863a8932d14b99c5f838c4efa1618070d71b29 (diff)
downloadtqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.tar.gz
tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.zip
Replace TRUE/FALSE with boolean values true/false - part 8HEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqdrawutil.cpp')
-rw-r--r--src/kernel/tqdrawutil.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kernel/tqdrawutil.cpp b/src/kernel/tqdrawutil.cpp
index 79aa69378..a05908895 100644
--- a/src/kernel/tqdrawutil.cpp
+++ b/src/kernel/tqdrawutil.cpp
@@ -60,8 +60,8 @@
TQColorGroup::light() light\endlink, \link TQColorGroup::dark()
dark\endlink and \link TQColorGroup::mid() middle\endlink colors).
- The line appears sunken if \a sunken is TRUE, or raised if \a
- sunken is FALSE.
+ The line appears sunken if \a sunken is true, or raised if \a
+ sunken is false.
The \a lineWidth argument specifies the line width for each of the
lines. It is not the total line width.
@@ -175,8 +175,8 @@ void qDrawShadeLine( TQPainter *p, int x1, int y1, int x2, int y2,
TQColorGroup::light() light\endlink, \link TQColorGroup::dark()
dark\endlink and \link TQColorGroup::mid() middle\endlink colors).
- The rectangle appears sunken if \a sunken is TRUE, or raised if \a
- sunken is FALSE.
+ The rectangle appears sunken if \a sunken is true, or raised if \a
+ sunken is false.
The \a lineWidth argument specifies the line width for each of the
lines. It is not the total line width.
@@ -281,8 +281,8 @@ void qDrawShadeRect( TQPainter *p, int x, int y, int w, int h,
TQColorGroup::light() light\endlink, \link TQColorGroup::dark()
dark\endlink and \link TQColorGroup::mid() middle\endlink colors).
- The panel appears sunken if \a sunken is TRUE, or raised if \a
- sunken is FALSE.
+ The panel appears sunken if \a sunken is true, or raised if \a
+ sunken is false.
The \a lineWidth argument specifies the line width.
@@ -436,8 +436,8 @@ static void qDrawWinShades( TQPainter *p,
TQColorGroup::light() light\endlink, \link TQColorGroup::dark()
dark\endlink and \link TQColorGroup::mid() middle\endlink colors).
- The button appears sunken if \a sunken is TRUE, or raised if \a
- sunken is FALSE.
+ The button appears sunken if \a sunken is true, or raised if \a
+ sunken is false.
The line width is 2 pixels.
@@ -473,8 +473,8 @@ void qDrawWinButton( TQPainter *p, int x, int y, int w, int h,
The color group argument \a g specifies the shading colors.
- The panel appears sunken if \a sunken is TRUE, or raised if \a
- sunken is FALSE.
+ The panel appears sunken if \a sunken is true, or raised if \a
+ sunken is false.
The line width is 2 pixels.
@@ -605,7 +605,7 @@ void qDrawItem( TQPainter *p, TQt::GUIStyle gs,
bool clip = (flags & TQt::DontClip) == 0;
if ( clip ) {
if ( pm.width() < w && pm.height() < h )
- clip = FALSE;
+ clip = false;
else
p->setClipRect( x, y, w, h );
}
@@ -634,7 +634,7 @@ void qDrawItem( TQPainter *p, TQt::GUIStyle gs,
TQString k;
k.sprintf( "$qt-drawitem-%x", pm.serialNumber() );
TQPixmap *mask = TQPixmapCache::find(k);
- bool del=FALSE;
+ bool del=false;
if ( !mask ) {
mask = new TQPixmap( pm.createHeuristicMask() );
mask->setMask( *((TQBitmap*)mask) );
@@ -652,7 +652,7 @@ void qDrawItem( TQPainter *p, TQt::GUIStyle gs,
}
p->drawPixmap( x, y, pm );
if ( clip )
- p->setClipping( FALSE );
+ p->setClipping( false );
} else if ( !text.isNull() ) {
if ( gs == TQt::WindowsStyle && !enabled ) {
p->setPen( g.light() );
@@ -908,7 +908,7 @@ static void qDrawMotifArrow( TQPainter *p, TQt::ArrowType type, bool down,
p->setPen( pen );
p->setBrush( brush );
#ifndef TQT_NO_TRANSFORMATIONS
- p->setWorldMatrix( matrix, TRUE ); // set transformation matrix
+ p->setWorldMatrix( matrix, true ); // set transformation matrix
#endif
p->drawPolygon( bFill ); // fill arrow
p->setBrush( TQt::NoBrush ); // don't fill