diff options
Diffstat (limited to 'src/styles/tqcdestyle.cpp')
| -rw-r--r-- | src/styles/tqcdestyle.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styles/tqcdestyle.cpp b/src/styles/tqcdestyle.cpp index 2c3b103da..61b39ed4f 100644 --- a/src/styles/tqcdestyle.cpp +++ b/src/styles/tqcdestyle.cpp @@ -68,7 +68,7 @@ /*! Constructs a TQCDEStyle. - If \a useHighlightCols is FALSE (the default), then the style will + If \a useHighlightCols is false (the default), then the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color. @@ -125,7 +125,7 @@ void TQCDEStyle::drawControl( ControlElement element, case CE_MenuBarItem: { if ( how & Style_Active ) // active item - qDrawShadePanel( p, r, cg, TRUE, 1, + qDrawShadePanel( p, r, cg, true, 1, &cg.brush( TQColorGroup::Button ) ); else // other item p->fillRect( r, cg.brush( TQColorGroup::Button ) ); @@ -341,7 +341,7 @@ void TQCDEStyle::drawPrimitive( PrimitiveElement pe, p->setPen( pen ); p->setBrush( brush ); - p->setWorldMatrix( matrix, TRUE ); // set transformation matrix + p->setWorldMatrix( matrix, true ); // set transformation matrix p->drawPolygon( bFill ); // fill arrow p->setBrush( NoBrush ); // don't fill |
