summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqdrawutil.cpp
diff options
context:
space:
mode:
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