summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/simple-application-example.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/simple-application-example.html')
-rw-r--r--doc/html/simple-application-example.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html
index 7b452186f..1210362d1 100644
--- a/doc/html/simple-application-example.html
+++ b/doc/html/simple-application-example.html
@@ -260,7 +260,7 @@ void <a name="f462"></a>ApplicationWindow::load( const <a href="ntqstring.html">
<a href="ntqtextstream.html">TQTextStream</a> ts( &amp;f );
<a name="x1589"></a><a name="x1586"></a> e-&gt;<a href="ntqtextedit.html#setText">setText</a>( ts.<a href="ntqtextstream.html#read">read</a>() );
-<a name="x1585"></a> e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( FALSE );
+<a name="x1585"></a> e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( false );
<a href="ntqwidget.html#setCaption">setCaption</a>( fileName );
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Loaded document " + fileName, 2000 );
}
@@ -285,7 +285,7 @@ void <a name="f463"></a>ApplicationWindow::save()
t &lt;&lt; text;
f.<a href="ntqfile.html#close">close</a>();
- e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( FALSE );
+ e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( false );
<a href="ntqwidget.html#setCaption">setCaption</a>( filename );
@@ -308,7 +308,7 @@ void <a name="f464"></a>ApplicationWindow::saveAs()
void <a name="f465"></a>ApplicationWindow::print()
{
-<a name="x1568"></a> printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( TRUE );
+<a name="x1568"></a> printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( true );
<a name="x1569"></a> if ( printer-&gt;<a href="ntqprinter.html#setup">setup</a>(this) ) { // printer dialog
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Printing..." );
<a href="ntqpainter.html">TQPainter</a> p;
@@ -339,7 +339,7 @@ void <a name="f465"></a>ApplicationWindow::print()
break;
<a name="x1567"></a> printer-&gt;<a href="ntqprinter.html#newPage">newPage</a>();
page++;
- } while (TRUE);
+ } while (true);
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Printing completed", 2000 );
} else {