From b58bc696064cfa61d6da555047d7b65be8360239 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 19:54:09 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- src/flowlayout.cpp | 4 ++-- src/flowlayout.h | 2 +- src/kima.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/flowlayout.cpp b/src/flowlayout.cpp index 9a87379..8e0d6a9 100644 --- a/src/flowlayout.cpp +++ b/src/flowlayout.cpp @@ -87,13 +87,13 @@ FlowLayout::~FlowLayout(){ int FlowLayout::heightForWidth( int w ) const{ FlowLayout* mthis = (FlowLayout*)this; - int h = mthis->doLayout( TQRect(0,0,w,0), TRUE ); + int h = mthis->doLayout( TQRect(0,0,w,0), true ); return h; } int FlowLayout::widthForHeight( int h ) const{ FlowLayout* mthis = (FlowLayout*)this; - int w = mthis->doLayout( TQRect(0,0,0,h), TRUE ); + int w = mthis->doLayout( TQRect(0,0,0,h), true ); return w; } diff --git a/src/flowlayout.h b/src/flowlayout.h index 47d8dbd..ca663cc 100644 --- a/src/flowlayout.h +++ b/src/flowlayout.h @@ -75,7 +75,7 @@ protected: void setGeometry(const TQRect&); private: - int doLayout( const TQRect&, bool testOnly = FALSE ); + int doLayout( const TQRect&, bool testOnly = false ); int doLayoutHorizontal( const TQRect&, bool testOnly ); int doLayoutVertical( const TQRect&, bool testOnly ); TQt::Orientation mOrientation; diff --git a/src/kima.cpp b/src/kima.cpp index 83e3698..1cb15db 100644 --- a/src/kima.cpp +++ b/src/kima.cpp @@ -97,7 +97,7 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i mTDEConfig->setGroup("Kima"); // automatically delete pointers - mSources.setAutoDelete(TRUE); + mSources.setAutoDelete(true); // create layout mLayout = new FlowLayout(this, orientation() ); -- cgit v1.2.3