diff options
Diffstat (limited to 'doc/html/simple-application.html')
-rw-r--r-- | doc/html/simple-application.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index 91df8c6f2..d64717d40 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -383,7 +383,7 @@ error message in the statusbar. <a href="tqtextstream.html">TQTextStream</a> ts( &f ); e-><a href="tqtextedit.html#setText">setText</a>( ts.<a href="tqtextstream.html#read">read</a>() ); - e-><a href="tqtextedit.html#setModified">setModified</a>( FALSE ); + e-><a href="tqtextedit.html#setModified">setModified</a>( false ); <a href="tqwidget.html#setCaption">setCaption</a>( fileName ); <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( "Loaded document " + fileName, 2000 ); } @@ -417,7 +417,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()->message()</tt> line with the equivalent code in the <tt>load()</tt> function. -<p> <pre> e-><a href="tqtextedit.html#setModified">setModified</a>( FALSE ); +<p> <pre> e-><a href="tqtextedit.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 @@ -449,7 +449,7 @@ and implicitly changes the window system caption to the new name. <p> <a name="printer"></a> <p> <pre> void ApplicationWindow::print() { - printer-><a href="tqprinter.html#setFullPage">setFullPage</a>( TRUE ); + printer-><a href="tqprinter.html#setFullPage">setFullPage</a>( true ); if ( printer-><a href="tqprinter.html#setup">setup</a>(this) ) { // printer dialog <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( "Printing..." ); <a href="tqpainter.html">TQPainter</a> p; @@ -480,7 +480,7 @@ and implicitly changes the window system caption to the new name. break; printer-><a href="tqprinter.html#newPage">newPage</a>(); page++; - } while (TRUE); + } while (true); <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( "Printing completed", 2000 ); } else { |