From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/statistics-example.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/statistics-example.html') diff --git a/doc/html/statistics-example.html b/doc/html/statistics-example.html index 56275aa95..56c21beba 100644 --- a/doc/html/statistics-example.html +++ b/doc/html/statistics-example.html @@ -126,7 +126,7 @@ const char* dirs[] = { Table::Table() : TQTable( 10, 100, 0, "table" ) { - setSorting( TRUE ); + setSorting( true ); horizontalHeader()->setLabel( 0, tr( "File" ) ); horizontalHeader()->setLabel( 1, tr( "Size (bytes)" ) ); horizontalHeader()->setLabel( 2, tr( "Use in Sum" ) ); @@ -204,7 +204,7 @@ void Table::recalcSum( int, int col ) clearCell( numRows() - 1, 0 ); clearCell( numRows() - 1, 1 ); // do sort - TQTable::sortColumn( col, ascending, TRUE ); + TQTable::sortColumn( col, ascending, true ); // re-insert sum row recalcSum( 0, 1 ); } @@ -228,7 +228,7 @@ void Table::recalcSum( int, int col ) : TQTableItem( t, et, "Yes" ), cb( 0 ) { // we do not want this item to be replaced - setReplaceable( FALSE ); + setReplaceable( false ); } TQWidget *ComboItem::createEditor() const -- cgit v1.2.3