From 572b6227417225ad595cb9768025001d9faa7314 Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Tue, 6 Jan 2026 00:19:46 +0100
Subject: Replace TRUE/FALSE with boolean values true/false. Finishing the
 remaining renames from #97.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
 arts/builder/qttableview.cpp            | 34 ++++++++++++++++-----------------
 mpeglib/lib/decoder/tplayPlugin.cpp     | 30 ++++++++++++++---------------
 mpeglib/lib/util/audio/audioIO_BeOS.cpp |  4 ++--
 3 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp
index 827b96d2..5ede7ccd 100644
--- a/arts/builder/qttableview.cpp
+++ b/arts/builder/qttableview.cpp
@@ -156,13 +156,13 @@ QtTableView::QtTableView( TQWidget *parent, const char *name, WFlags f )
     vScrollBar		 = hScrollBar = 0;	// no scroll bars
     cornerSquare	 = 0;
     sbDirty		 = 0;
-    eraseInPaint	 = FALSE;
-    verSliding		 = FALSE;
-    verSnappingOff	 = FALSE;
-    horSliding		 = FALSE;
-    horSnappingOff	 = FALSE;
-    coveringCornerSquare = FALSE;
-    inSbUpdate		 = FALSE;
+    eraseInPaint	 = false;
+    verSliding		 = false;
+    verSnappingOff	 = false;
+    horSliding		 = false;
+    horSnappingOff	 = false;
+    coveringCornerSquare = false;
+    inSbUpdate		 = false;
 }
 
 /*!
@@ -243,9 +243,9 @@ void QtTableView::repaint( int x, int y, int w, int h, bool erase )
 	return; // nothing to do
     TQPaintEvent e( r );
     if ( erase && backgroundMode() != NoBackground )
-	eraseInPaint = TRUE;			// erase when painting
+	eraseInPaint = true;			// erase when painting
     paintEvent( &e );
-    eraseInPaint = FALSE;
+    eraseInPaint = false;
 }
 
 /*!
@@ -1136,9 +1136,9 @@ void QtTableView::snapToGrid( bool horizontal, bool vertical )
 void QtTableView::horSbValue( int val )
 {
     if ( horSliding ) {
-	horSliding = FALSE;
+	horSliding = false;
 	if ( horSnappingOff ) {
-	    horSnappingOff = FALSE;
+	    horSnappingOff = false;
 	    tFlags |= Tbl_snapToHGrid;
 	}
     }
@@ -1190,9 +1190,9 @@ void QtTableView::horSbSlidingDone( )
 void QtTableView::verSbValue( int val )
 {
     if ( verSliding ) {
-	verSliding = FALSE;
+	verSliding = false;
 	if ( verSnappingOff ) {
-	    verSnappingOff = FALSE;
+	    verSnappingOff = false;
 	    tFlags |= Tbl_snapToVGrid;
 	}
     }
@@ -1963,7 +1963,7 @@ void QtTableView::updateScrollBars( uint f )
     sbDirty = sbDirty | f;
     if ( inSbUpdate )
 	return;
-    inSbUpdate = TRUE;
+    inSbUpdate = true;
 
     if ( testTableFlags(Tbl_autoHScrollBar) && (sbDirty & horRange) ||
 	 testTableFlags(Tbl_autoVScrollBar) && (sbDirty & verRange) )
@@ -1971,7 +1971,7 @@ void QtTableView::updateScrollBars( uint f )
 	doAutoScrollBars();		// turn scroll bars on/off if needed
 
     if ( !autoUpdate() ) {
-	inSbUpdate = FALSE;
+	inSbUpdate = false;
 	return;
     }
     if ( yOffset() > 0 && testTableFlags( Tbl_autoVScrollBar ) &&
@@ -1983,7 +1983,7 @@ void QtTableView::updateScrollBars( uint f )
 	setXOffset( 0 );
     }
     if ( !isVisible() ) {
-	inSbUpdate = FALSE;
+	inSbUpdate = false;
 	return;
     }
 
@@ -2040,7 +2040,7 @@ void QtTableView::updateScrollBars( uint f )
 			    maxViewY() + frameWidth() + 1 );
 
     sbDirty = 0;
-    inSbUpdate = FALSE;
+    inSbUpdate = false;
 }
 
 
diff --git a/mpeglib/lib/decoder/tplayPlugin.cpp b/mpeglib/lib/decoder/tplayPlugin.cpp
index 150b1ba2..2110cdcf 100644
--- a/mpeglib/lib/decoder/tplayPlugin.cpp
+++ b/mpeglib/lib/decoder/tplayPlugin.cpp
@@ -23,18 +23,18 @@ TplayPlugin::TplayPlugin() {
   info=new info_struct();
 
   info->progname = NULL;
-  info->loop = FALSE;
-  info->in_seconds = FALSE;
+  info->loop = false;
+  info->in_seconds = false;
   info->speed = DEFAULT_SPEED;
   info->bits = DEFAULT_BITS;
   info->channels = DEFAULT_CHANNELS;
   info->buffer_size = BUFFER_SIZE;
-  info->show_usage = FALSE;
-  info->swap = FALSE;
-  info->forceraw = FALSE;
-  info->force = FALSE;
+  info->show_usage = false;
+  info->swap = false;
+  info->forceraw = false;
+  info->force = false;
   info->device = NULL;
-  info->verbose = FALSE;
+  info->verbose = false;
   info->optind = 0;
   info->buffer = NULL;
   info->firstblock = NULL;
@@ -43,10 +43,10 @@ TplayPlugin::TplayPlugin() {
   info->writeblock = 0;
   info->readcount = 0;
   info->writecount = 0;
-  info->alldone = FALSE;
-  info->overflow = FALSE;
-  info->underflow = FALSE;
-  info->audioset = FALSE;
+  info->alldone = false;
+  info->overflow = false;
+  info->underflow = false;
+  info->audioset = false;
   info->headerskip = 0;
   info->blocksize = 4096;
   info->bytes_on_last_block = 0;
@@ -88,9 +88,9 @@ void TplayPlugin::decoder_loop() {
        read_header();
        
        if (info->channels == 1)
-	 stereo = FALSE;
+	 stereo = false;
        else
-	 stereo = TRUE;
+	 stereo = true;
 
        info->number_of_blocks = 0;
        bufferp = info->buffer;
@@ -127,7 +127,7 @@ void TplayPlugin::decoder_loop() {
       }
 
       if (bytesread < info->blocksize) {
-	info->alldone = TRUE;
+	info->alldone = true;
 
       }
       break;
@@ -211,7 +211,7 @@ void TplayPlugin::read_header() {
       swap_block(bufferp, bytesread);
     
     if (bytesread < info->blocksize) {
-      info->alldone = TRUE;
+      info->alldone = true;
       info->bytes_on_last_block = bytesread;
       return;
     }
diff --git a/mpeglib/lib/util/audio/audioIO_BeOS.cpp b/mpeglib/lib/util/audio/audioIO_BeOS.cpp
index 3c221f0e..80a1c638 100644
--- a/mpeglib/lib/util/audio/audioIO_BeOS.cpp
+++ b/mpeglib/lib/util/audio/audioIO_BeOS.cpp
@@ -175,7 +175,7 @@ void audioInit(int sampleSize,int frequency, int stereo)
 	
 		
 	// Enter the stream
-	the_sub->EnterStream(NULL, TRUE, NULL, stream_func, NULL, TRUE);
+	the_sub->EnterStream(NULL, true, NULL, stream_func, NULL, true);
 }
 
 
@@ -189,7 +189,7 @@ void audioSetVolume(int volume)
 
 void audioClose()
 {
-	the_sub->ExitStream(TRUE);
+	the_sub->ExitStream(true);
 	the_sub->Unsubscribe();
 	
     delete_sem(ok_to_read);
-- 
cgit v1.2.3

