diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 19:54:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 19:54:09 +0900 |
commit | b58bc696064cfa61d6da555047d7b65be8360239 (patch) | |
tree | 945b089720b84bfbcf96d1da3d2d1fee91b67b68 | |
parent | f9cc7c8ccc65add92b5ab6516822f25366d9488c (diff) | |
download | kima-b58bc696064cfa61d6da555047d7b65be8360239.tar.gz kima-b58bc696064cfa61d6da555047d7b65be8360239.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/flowlayout.cpp | 4 | ||||
-rw-r--r-- | src/flowlayout.h | 2 | ||||
-rw-r--r-- | src/kima.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
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() ); |