summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/simple-application.html')
-rw-r--r--doc/html/simple-application.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html
index 0d51ba899..b931f9eb8 100644
--- a/doc/html/simple-application.html
+++ b/doc/html/simple-application.html
@@ -384,7 +384,7 @@ error message in the statusbar.
<a href="ntqtextstream.html">TQTextStream</a> ts( &amp;f );
e-&gt;<a href="ntqtextedit.html#setText">setText</a>( ts.<a href="ntqtextstream.html#read">read</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 );
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Loaded document " + fileName, 2000 );
}
@@ -418,7 +418,7 @@ filename has been specified so far, the <a href="#saveAs()">saveAs()</a> functio
Note that there is more than one way to do this:
compare the above <tt>statusBar()-&gt;message()</tt> line with the equivalent
code in the <tt>load()</tt> function.
-<p> <pre> e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( FALSE );
+<p> <pre> e-&gt;<a href="ntqtextedit.html#setModified">setModified</a>( false );
</pre>
<p> Tell the editor that the contents haven't been edited since the last
save. When the user does some further editing and wishes to close the
@@ -450,7 +450,7 @@ and implicitly changes the window system caption to the new name.
<p> <a name="printer"></a>
<p> <pre> void ApplicationWindow::print()
{
- printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( TRUE );
+ printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( true );
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;
@@ -481,7 +481,7 @@ and implicitly changes the window system caption to the new name.
break;
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 {