summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 19:54:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 19:08:43 +0900
commite80c5ee44d831790579c7a4c9f68317256dddad9 (patch)
tree3b023d3fa214bc65f43fb36e919ed9c6b0d86c5a
parentc91cfb081a9732e42ea7ff418add4fd9895a5af7 (diff)
downloadkima-e80c5ee44d831790579c7a4c9f68317256dddad9.tar.gz
kima-e80c5ee44d831790579c7a4c9f68317256dddad9.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b58bc696064cfa61d6da555047d7b65be8360239)
-rw-r--r--src/flowlayout.cpp4
-rw-r--r--src/flowlayout.h2
-rw-r--r--src/kima.cpp2
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 abc30c0..49071e9 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() );