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/simple-application-example.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/simple-application-example.html') diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index d8e2a0ae7..712672f9b 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -259,7 +259,7 @@ void ApplicationWindow::load( const T TQTextStream ts( &f ); e->setText( ts.read() ); - e->setModified( FALSE ); + e->setModified( false ); setCaption( fileName ); statusBar()->message( "Loaded document " + fileName, 2000 ); } @@ -284,7 +284,7 @@ void ApplicationWindow::save() t << text; f.close(); - e->setModified( FALSE ); + e->setModified( false ); setCaption( filename ); @@ -307,7 +307,7 @@ void ApplicationWindow::saveAs() void ApplicationWindow::print() { - printer->setFullPage( TRUE ); + printer->setFullPage( true ); if ( printer->setup(this) ) { // printer dialog statusBar()->message( "Printing..." ); TQPainter p; @@ -338,7 +338,7 @@ void ApplicationWindow::print() break; printer->newPage(); page++; - } while (TRUE); + } while (true); statusBar()->message( "Printing completed", 2000 ); } else { -- cgit v1.2.3