summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:01:38 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:01:38 +0900
commit5e9ef6688e58dccde4be0f0db310987db99d66d7 (patch)
tree909c595b6c09eb7de9d78bfa303814316600ab26
parent4b8cb80dce4b488d36b02d0c1d218676ecd78ac2 (diff)
downloadk3b-5e9ef6688e58dccde4be0f0db310987db99d66d7.tar.gz
k3b-5e9ef6688e58dccde4be0f0db310987db99d66d7.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--libk3b/plugin/libsamplerate/samplerate.h2
-rw-r--r--plugins/decoder/flac/k3bflacdecoder.cpp2
-rw-r--r--src/k3bdiskinfoview.cpp2
-rw-r--r--src/k3bfiletreecombobox.cpp10
-rw-r--r--src/k3bjobprogressdialog.cpp2
-rw-r--r--src/k3bjobprogressdialog.h2
-rw-r--r--src/rip/k3bpatternparser.cpp4
7 files changed, 12 insertions, 12 deletions
diff --git a/libk3b/plugin/libsamplerate/samplerate.h b/libk3b/plugin/libsamplerate/samplerate.h
index dfc4448..e345d85 100644
--- a/libk3b/plugin/libsamplerate/samplerate.h
+++ b/libk3b/plugin/libsamplerate/samplerate.h
@@ -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.
*/
diff --git a/plugins/decoder/flac/k3bflacdecoder.cpp b/plugins/decoder/flac/k3bflacdecoder.cpp
index 6a95854..2d814d8 100644
--- a/plugins/decoder/flac/k3bflacdecoder.cpp
+++ b/plugins/decoder/flac/k3bflacdecoder.cpp
@@ -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;
diff --git a/src/k3bdiskinfoview.cpp b/src/k3bdiskinfoview.cpp
index 41c908f..a2a5e0e 100644
--- a/src/k3bdiskinfoview.cpp
+++ b/src/k3bdiskinfoview.cpp
@@ -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 );
diff --git a/src/k3bfiletreecombobox.cpp b/src/k3bfiletreecombobox.cpp
index ed534dc..5c9f384 100644
--- a/src/k3bfiletreecombobox.cpp
+++ b/src/k3bfiletreecombobox.cpp
@@ -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 );
}
diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp
index a45a76d..0db12e1 100644
--- a/src/k3bjobprogressdialog.cpp
+++ b/src/k3bjobprogressdialog.cpp
@@ -644,7 +644,7 @@ void K3bJobProgressDialog::hide()
KDialog::hide();
if ( in_loop ) {
- in_loop = FALSE;
+ in_loop = false;
TQApplication::eventLoop()->exitLoop();
}
}
diff --git a/src/k3bjobprogressdialog.h b/src/k3bjobprogressdialog.h
index f9942ab..6ab9b23 100644
--- a/src/k3bjobprogressdialog.h
+++ b/src/k3bjobprogressdialog.h
@@ -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();
diff --git a/src/rip/k3bpatternparser.cpp b/src/rip/k3bpatternparser.cpp
index fd256a4..286e80b 100644
--- a/src/rip/k3bpatternparser.cpp
+++ b/src/rip/k3bpatternparser.cpp
@@ -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