summaryrefslogtreecommitdiffstats
path: root/plugins/gui-quickbar
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:03:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:03:24 +0900
commitb0e57710fb765a6060971ec0db21bbed462f7da9 (patch)
treee0c11e66ee52b8d6794f2df20b23fb89a2b352f7 /plugins/gui-quickbar
parent285ab40efff538148114b59fdddffa4644fa50a0 (diff)
downloadtderadio-b0e57710fb765a6060971ec0db21bbed462f7da9.tar.gz
tderadio-b0e57710fb765a6060971ec0db21bbed462f7da9.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/gui-quickbar')
-rw-r--r--plugins/gui-quickbar/buttonflowlayout.cpp4
-rw-r--r--plugins/gui-quickbar/buttonflowlayout.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/gui-quickbar/buttonflowlayout.cpp b/plugins/gui-quickbar/buttonflowlayout.cpp
index 0b49564..c94101b 100644
--- a/plugins/gui-quickbar/buttonflowlayout.cpp
+++ b/plugins/gui-quickbar/buttonflowlayout.cpp
@@ -86,7 +86,7 @@ int ButtonFlowLayout::heightForWidth( int w ) const
if ( cached_width != w ) {
//Not all C++ compilers support "mutable" yet:
ButtonFlowLayout * mthis = (ButtonFlowLayout*)this;
- int h = mthis->doLayout( TQRect(0,0,w,0), TRUE );
+ int h = mthis->doLayout( TQRect(0,0,w,0), true );
mthis->cached_hfw = h;
mthis->cached_width = w;
return h;
@@ -101,7 +101,7 @@ void ButtonFlowLayout::addItem( TQLayoutItem *item)
bool ButtonFlowLayout::hasHeightForWidth() const
{
- return TRUE;
+ return true;
}
TQSize ButtonFlowLayout::sizeHint() const
diff --git a/plugins/gui-quickbar/buttonflowlayout.h b/plugins/gui-quickbar/buttonflowlayout.h
index 117197a..fcef601 100644
--- a/plugins/gui-quickbar/buttonflowlayout.h
+++ b/plugins/gui-quickbar/buttonflowlayout.h
@@ -51,7 +51,7 @@ protected:
void setGeometry( const TQRect& );
private:
- int doLayout( const TQRect&, bool testonly = FALSE );
+ int doLayout( const TQRect&, bool testonly = false );
TQPtrList<TQLayoutItem> list;
int cached_width;
int cached_hfw;