summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-05 11:28:53 +0900
commitaa50195215adca66e19a1bbaaa45791a570d4c77 (patch)
tree3a2f1b4b88fc316e2c3d87b5e83058cb346b2852 /example
parent6923f459303f67484c216514ed048333abc931e6 (diff)
downloadtqscintilla-r14.1.x.tar.gz
tqscintilla-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3f2dc73d5a565121db00f4a0f050a48910b51623)
Diffstat (limited to 'example')
-rw-r--r--example/application.cpp6
1 files changed, 3 insertions, 3 deletions
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..." );