summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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() );