summaryrefslogtreecommitdiffstats
path: root/plugins/gui-quickbar
diff options
context:
space:
mode:
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;