From 3f2dc73d5a565121db00f4a0f050a48910b51623 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Apr 2025 13:24:41 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- example/application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example/application.cpp') diff --git a/example/application.cpp b/example/application.cpp index 3352d8b..7666a7a 100644 --- a/example/application.cpp +++ b/example/application.cpp @@ -169,7 +169,7 @@ void ApplicationWindow::load( const TQString &fileName ) TQTextStream ts( &f ); e->setText( ts.read() ); - e->setModified( FALSE ); + e->setModified( false ); setCaption( fileName ); statusBar()->message( "Loaded document " + fileName, 2000 ); } @@ -194,7 +194,7 @@ void ApplicationWindow::save() t << text; f.close(); - e->setModified( FALSE ); + e->setModified( false ); setCaption( filename ); @@ -217,7 +217,7 @@ void ApplicationWindow::saveAs() void ApplicationWindow::print() { - printer->setFullPage( TRUE ); + printer->setFullPage( true ); if ( printer->setup(this) ) { // printer dialog statusBar()->message( "Printing..." ); -- cgit v1.2.3