Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 12 months ago
parent f9cc7c8ccc
commit b58bc69606
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;
}

@ -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;

@ -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() );

Loading…
Cancel
Save