Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/26/head
Michele Calgaro 1 year ago
parent 285ab40eff
commit b0e57710fb
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -86,7 +86,7 @@ int ButtonFlowLayout::heightForWidth( int w ) const
if ( cached_width != w ) {
//Not all C++ compilers support "mutable" yet:
ButtonFlowLayout * mthis = (ButtonFlowLayout*)this;
int h = mthis->doLayout( TQRect(0,0,w,0), TRUE );
int h = mthis->doLayout( TQRect(0,0,w,0), true );
mthis->cached_hfw = h;
mthis->cached_width = w;
return h;
@ -101,7 +101,7 @@ void ButtonFlowLayout::addItem( TQLayoutItem *item)
bool ButtonFlowLayout::hasHeightForWidth() const
{
return TRUE;
return true;
}
TQSize ButtonFlowLayout::sizeHint() const

@ -51,7 +51,7 @@ protected:
void setGeometry( const TQRect& );
private:
int doLayout( const TQRect&, bool testonly = FALSE );
int doLayout( const TQRect&, bool testonly = false );
TQPtrList<TQLayoutItem> list;
int cached_width;
int cached_hfw;

@ -88,7 +88,7 @@ RECEIVERS:
public:
void reparent (TQWidget *parent, WFlags f, const TQPoint &p, bool showIt = FALSE);
void reparent (TQWidget *parent, WFlags f, const TQPoint &p, bool showIt = false);
protected:

@ -138,7 +138,7 @@ void TimeShifterConfiguration::selectTempFile()
i18n("any ( * )").ascii(),
this,
i18n("TimeShifter Temporary File Selection").ascii(),
TRUE);
true);
fd.setMode(KFile::File);
fd.setCaption (i18n("Select TimeShifter Temporary File"));

@ -443,7 +443,7 @@ void V4LRadioConfiguration::selectRadioDevice()
i18n("any ( * )").ascii(),
this,
i18n("Radio Device Selection").ascii(),
TRUE);
true);
fd.setMode(KFile::File | KFile::ExistingOnly);
fd.setCaption (i18n("Select Radio Device"));

Loading…
Cancel
Save