Replace TRUE/FALSE with boolean values true/false

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/57/head
Michele Calgaro 4 months ago
parent 4b8cb80dce
commit 5e9ef6688e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -99,7 +99,7 @@ int src_set_ratio (SRC_STATE *state, double new_ratio) ;
int src_reset (SRC_STATE *state) ;
/*
** Return TRUE if ratio is a valid conversion ratio, FALSE
** Return true if ratio is a valid conversion ratio, false
** otherwise.
*/

@ -166,7 +166,7 @@ K3bFLACDecoder::Private::seek_callback(FLAC__uint64 absolute_byte_offset) {
#else
FLAC__StreamDecoderSeekStatus
K3bFLACDecoder::Private::seek_callback(FLAC__uint64 absolute_byte_offset) {
if(file->at(absolute_byte_offset) == FALSE)
if(file->at(absolute_byte_offset) == false)
return FLAC__STREAM_DECODER_SEEK_STATUS_ERROR;
else
return FLAC__STREAM_DECODER_SEEK_STATUS_OK;

@ -109,7 +109,7 @@ public:
newWidth += listView()->columnWidth( i );
}
// TODO: find a way to get the TRUE new width after resizing
// TODO: find a way to get the true new width after resizing
// TQRect r = p->clipRegion().boundingRect();
// r.setWidth( newWidth );

@ -304,7 +304,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
if ( e->button() != TQt::LeftButton )
return;
if ( d->ignoreNextMouseClick ) {
d->ignoreNextMouseClick = FALSE;
d->ignoreNextMouseClick = false;
return;
}
@ -318,7 +318,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
if ( arrowRect.contains( e->pos() ) ) {
popup();
repaint( FALSE );
repaint( false );
}
}
@ -349,7 +349,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
flags |= TQStyle::Style_HasFocus;
if ( width() < 5 || height() < 5 ) {
qDrawShadePanel( &p, rect(), g, FALSE, 2,
qDrawShadePanel( &p, rect(), g, false, 2,
&g.brush( TQColorGroup::Button ) );
return;
}
@ -375,7 +375,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
// item->paint( &p );
// }
// } else if ( d->listBox() && d->listBox()->item( 0 ) ) {
p.setClipping( FALSE );
p.setClipping( false );
TQListBoxItem * item = listBox()->item( 0 );
const TQPixmap *pix = item->pixmap();
if ( pix ) {
@ -385,7 +385,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
( re.height() - pix->height() ) / 2, *pix );
}
// }
p.setClipping( FALSE );
p.setClipping( false );
}

@ -644,7 +644,7 @@ void K3bJobProgressDialog::hide()
KDialog::hide();
if ( in_loop ) {
in_loop = FALSE;
in_loop = false;
TQApplication::eventLoop()->exitLoop();
}
}

@ -55,7 +55,7 @@ class K3bJobProgressDialog : public KDialog, public K3bJobHandler
K3bJobProgressDialog( TQWidget* parent = 0,
const char* name = 0,
bool showSubProgress = true,
bool modal = FALSE,
bool modal = false,
WFlags fl = 0 );
virtual ~K3bJobProgressDialog();

@ -198,7 +198,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry,
bool isIncluded;
static TQRegExp conditionrx( "^[@|!][atyegrmx](?:='.*')?\\{" );
conditionrx.setMinimal( TRUE );
conditionrx.setMinimal( true );
for( unsigned int i = 0; i < dir.length(); ++i ) {
@ -282,7 +282,7 @@ TQString K3bPatternParser::parsePattern( const K3bCddbResultEntry& entry,
dir.replace( offset, length, ( isIncluded ? inclusion : TQString("") ) );
if( isIncluded == TRUE )
if( isIncluded == true )
i -= length - inclusion.length();
else
i = offset - 1; // start next loop at offset

Loading…
Cancel
Save