diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-26 21:01:38 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-26 21:01:38 +0900 |
commit | 5e9ef6688e58dccde4be0f0db310987db99d66d7 (patch) | |
tree | 909c595b6c09eb7de9d78bfa303814316600ab26 /src/k3bfiletreecombobox.cpp | |
parent | 4b8cb80dce4b488d36b02d0c1d218676ecd78ac2 (diff) | |
download | k3b-5e9ef6688e58dccde4be0f0db310987db99d66d7.tar.gz k3b-5e9ef6688e58dccde4be0f0db310987db99d66d7.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/k3bfiletreecombobox.cpp')
-rw-r--r-- | src/k3bfiletreecombobox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/k3bfiletreecombobox.cpp b/src/k3bfiletreecombobox.cpp index ed534dc..5c9f384 100644 --- a/src/k3bfiletreecombobox.cpp +++ b/src/k3bfiletreecombobox.cpp @@ -304,7 +304,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e ) if ( e->button() != TQt::LeftButton ) return; if ( d->ignoreNextMouseClick ) { - d->ignoreNextMouseClick = FALSE; + d->ignoreNextMouseClick = false; return; } @@ -318,7 +318,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e ) if ( arrowRect.contains( e->pos() ) ) { popup(); - repaint( FALSE ); + repaint( false ); } } @@ -349,7 +349,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* ) flags |= TQStyle::Style_HasFocus; if ( width() < 5 || height() < 5 ) { - qDrawShadePanel( &p, rect(), g, FALSE, 2, + qDrawShadePanel( &p, rect(), g, false, 2, &g.brush( TQColorGroup::Button ) ); return; } @@ -375,7 +375,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* ) // item->paint( &p ); // } // } else if ( d->listBox() && d->listBox()->item( 0 ) ) { - p.setClipping( FALSE ); + p.setClipping( false ); TQListBoxItem * item = listBox()->item( 0 ); const TQPixmap *pix = item->pixmap(); if ( pix ) { @@ -385,7 +385,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* ) ( re.height() - pix->height() ) / 2, *pix ); } // } - p.setClipping( FALSE ); + p.setClipping( false ); } |