From dcce5b1f2c449ed9a02b1752e0d74f147a83d07d 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/chart-setdataform-cpp.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/chart-setdataform-cpp.html') diff --git a/doc/html/chart-setdataform-cpp.html b/doc/html/chart-setdataform-cpp.html index b59ca86b3..72d3920af 100644 --- a/doc/html/chart-setdataform-cpp.html +++ b/doc/html/chart-setdataform-cpp.html @@ -76,9 +76,9 @@ const int MAX_PATTERNS = 14; table = new TQTable( this, "data table" ); table->setNumCols( 5 ); table->setNumRows( ChartForm::MAX_ELEMENTS ); - table->setColumnReadOnly( 1, TRUE ); - table->setColumnReadOnly( 2, TRUE ); - table->setColumnReadOnly( 4, TRUE ); + table->setColumnReadOnly( 1, true ); + table->setColumnReadOnly( 2, true ); + table->setColumnReadOnly( 4, true ); table->setColumnWidth( 0, 80 ); table->setColumnWidth( 1, 60 ); // Columns 1 and 4 must be equal table->setColumnWidth( 2, 60 ); @@ -96,7 +96,7 @@ const int MAX_PATTERNS = 14; colorPushButton = new TQPushButton( this, "color button" ); colorPushButton->setText( "&Color..." ); - colorPushButton->setEnabled( FALSE ); + colorPushButton->setEnabled( false ); buttonBox->addWidget( colorPushButton ); TQSpacerItem *spacer = new TQSpacerItem( 0, 0, TQSizePolicy::Expanding, @@ -105,7 +105,7 @@ const int MAX_PATTERNS = 14; okPushButton = new TQPushButton( this, "ok button" ); okPushButton->setText( "OK" ); - okPushButton->setDefault( TRUE ); + okPushButton->setDefault( true ); buttonBox->addWidget( okPushButton ); cancelPushButton = new TQPushButton( this, "cancel button" ); -- cgit v1.2.3