summaryrefslogtreecommitdiffstats
path: root/doc/html/mdi-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/mdi-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/mdi-example.html')
-rw-r--r--doc/html/mdi-example.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html
index c9da97ae0..3b05e7f22 100644
--- a/doc/html/mdi-example.html
+++ b/doc/html/mdi-example.html
@@ -183,7 +183,7 @@ const char * filePrintText = "Click this button to print the file you "
<a href="ntqpixmap.html">TQPixmap</a> openIcon, saveIcon;
fileTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "file operations" );
- <a href="ntqmainwindow.html#addToolBar">addToolBar</a>( fileTools, tr( "File Operations" ), DockTop, TRUE );
+ <a href="ntqmainwindow.html#addToolBar">addToolBar</a>( fileTools, tr( "File Operations" ), DockTop, true );
openIcon = TQPixmap( fileopen );
TQToolButton * fileOpen
@@ -236,7 +236,7 @@ const char * filePrintText = "Click this button to print the file you "
<a name="x2020"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q );
windowsMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
-<a name="x2049"></a> windowsMenu-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
+<a name="x2049"></a> windowsMenu-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( true );
<a name="x2048"></a> <a href="ntqobject.html#connect">connect</a>( windowsMenu, TQ_SIGNAL( <a href="ntqpopupmenu.html#aboutToShow">aboutToShow</a>() ),
this, TQ_SLOT( windowsMenuAboutToShow() ) );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Windows", windowsMenu );
@@ -253,7 +253,7 @@ const char * filePrintText = "Click this button to print the file you "
<a href="ntqvbox.html">TQVBox</a>* vb = new <a href="ntqvbox.html">TQVBox</a>( this );
vb-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::StyledPanel | TQFrame::Sunken );
ws = new <a href="ntqworkspace.html">TQWorkspace</a>( vb );
-<a name="x2092"></a> ws-&gt;<a href="ntqworkspace.html#setScrollBarsEnabled">setScrollBarsEnabled</a>( TRUE );
+<a name="x2092"></a> ws-&gt;<a href="ntqworkspace.html#setScrollBarsEnabled">setScrollBarsEnabled</a>( true );
<a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( vb );
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Ready", 2000 );
@@ -348,9 +348,9 @@ void <a name="f544"></a>ApplicationWindow::windowsMenuAboutToShow()
<a name="x2093"></a> int tileId = windowsMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;Tile", ws, TQ_SLOT(<a href="ntqworkspace.html#tile">tile</a>() ) );
int horTileId = windowsMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Tile &amp;Horizontally", this, TQ_SLOT(tileHorizontal() ) );
if ( ws-&gt;<a href="ntqworkspace.html#windowList">windowList</a>().isEmpty() ) {
-<a name="x2033"></a> windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( cascadeId, FALSE );
- windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( tileId, FALSE );
- windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( horTileId, FALSE );
+<a name="x2033"></a> windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( cascadeId, false );
+ windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( tileId, false );
+ windowsMenu-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( horTileId, false );
}
windowsMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
TQWidgetList windows = ws-&gt;<a href="ntqworkspace.html#windowList">windowList</a>();
@@ -524,7 +524,7 @@ void <a name="f551"></a>MDIWindow::print( <a href="ntqprinter.html">TQPrinter</a
int pageNo = 1;
<a name="x2052"></a> if ( printer-&gt;<a href="ntqprinter.html#setup">setup</a>(this) ) { // printer dialog
-<a name="x2051"></a> printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( TRUE );
+<a name="x2051"></a> printer-&gt;<a href="ntqprinter.html#setFullPage">setFullPage</a>( true );
emit message( "Printing...", 0 );
<a href="ntqpainter.html">TQPainter</a> p;
if ( !p.<a href="ntqpainter.html#begin">begin</a>( printer ) )
@@ -555,7 +555,7 @@ void <a name="f551"></a>MDIWindow::print( <a href="ntqprinter.html">TQPrinter</a
emit message( msg, 0 );
<a name="x2050"></a> printer-&gt;<a href="ntqprinter.html#newPage">newPage</a>();
page++;
- } while (TRUE);
+ } while (true);
}
#endif
}