diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqdialog.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqdialog.html')
-rw-r--r-- | doc/html/tqdialog.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tqdialog.html b/doc/html/tqdialog.html index 0c8fbad3f..35e0f5f0c 100644 --- a/doc/html/tqdialog.html +++ b/doc/html/tqdialog.html @@ -38,7 +38,7 @@ body { background: #ffffff; color: black; } <p><a href="tqdialog-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> -<li class=fn>explicit <a href="#TQDialog"><b>TQDialog</b></a> ( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 )</li> +<li class=fn>explicit <a href="#TQDialog"><b>TQDialog</b></a> ( TQWidget * parent = 0, const char * name = 0, bool modal = false, WFlags f = 0 )</li> <li class=fn><a href="#~TQDialog"><b>~TQDialog</b></a> ()</li> <li class=fn>enum <a href="#DialogCode-enum"><b>DialogCode</b></a> { Rejected, Accepted }</li> <li class=fn>int <a href="#result"><b>result</b></a> () const</li> @@ -106,12 +106,12 @@ connect a default button, e.g. "OK", to the <a href="#accept">accept</a>() slot "Cancel" button to the <a href="#reject">reject</a>() slot, to get the dialog to close and return the appropriate value. Alternatively you can connect to the <a href="#done">done</a>() slot, passing it <a href="#DialogCode-enum">Accepted</a> or <a href="#DialogCode-enum">Rejected</a>. -<p> An alternative is to call <a href="#setModal">setModal</a>(TRUE), then <a href="#show">show</a>(). Unlike +<p> An alternative is to call <a href="#setModal">setModal</a>(true), then <a href="#show">show</a>(). Unlike exec(), show() returns control to the caller immediately. Calling -setModal(TRUE) is especially useful for progress dialogs, where +setModal(true) is especially useful for progress dialogs, where the user must have the ability to interact with the dialog, e.g. to cancel a long running operation. If you use show() and -setModal(TRUE) together you must call +setModal(true) together you must call <a href="tqapplication.html#processEvents">TQApplication::processEvents</a>() periodically during processing to enable the user to interact with the dialog. (See <a href="tqprogressdialog.html">TQProgressDialog</a>.) <p> <a name="modeless"></a> @@ -171,7 +171,7 @@ dialog is deleted after exec() returns. <p> <pre> <a href="tqfiledialog.html">TQFileDialog</a> *dlg = new <a href="tqfiledialog.html">TQFileDialog</a>( workingDirectory, - <a href="tqstring.html#TQString-null">TQString::null</a>, 0, 0, TRUE ); + <a href="tqstring.html#TQString-null">TQString::null</a>, 0, 0, true ); <a name="x2130"></a> dlg-><a href="tqwidget.html#setCaption">setCaption</a>( TQFileDialog::<a href="tqobject.html#tr">tr</a>( "Open" ) ); <a name="x2128"></a> dlg-><a href="tqfiledialog.html#setMode">setMode</a>( TQFileDialog::ExistingFile ); <a href="tqstring.html">TQString</a> result; @@ -207,7 +207,7 @@ event loop. <li><tt>TQDialog::Rejected</tt> </ul><p> <hr><h2>Member Function Documentation</h2> -<h3 class=fn>explicit <a name="TQDialog"></a>TQDialog::TQDialog ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 ) +<h3 class=fn>explicit <a name="TQDialog"></a>TQDialog::TQDialog ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = false, WFlags f = 0 ) </h3> Constructs a dialog called <em>name</em>, with parent <em>parent</em>. <p> A dialog is always a top-level widget, but if it has a parent, its @@ -259,10 +259,10 @@ defined. <p> <p>See also <a href="#setExtension">setExtension</a>(). <h3 class=fn>bool <a name="isModal"></a>TQDialog::isModal () const -</h3><p>Returns TRUE if <a href="#show">show</a>() should pop up the dialog as modal or modeless; otherwise returns FALSE. +</h3><p>Returns true if <a href="#show">show</a>() should pop up the dialog as modal or modeless; otherwise returns false. See the <a href="tqdialog.html#modal-prop">"modal"</a> property for details. <h3 class=fn>bool <a name="isSizeGripEnabled"></a>TQDialog::isSizeGripEnabled () const -</h3><p>Returns TRUE if the size grip is enabled; otherwise returns FALSE. +</h3><p>Returns true if the size grip is enabled; otherwise returns false. See the <a href="tqdialog.html#sizeGripEnabled-prop">"sizeGripEnabled"</a> property for details. <h3 class=fn><a href="tqt.html#Orientation-enum">Orientation</a> <a name="orientation"></a>TQDialog::orientation () const </h3> @@ -319,7 +319,7 @@ of the <a href="#modal-prop">modal</a> property. <p>Reimplemented from <a href="tqwidget.html#show">TQWidget</a>. <h3 class=fn>void <a name="showExtension"></a>TQDialog::showExtension ( bool showIt )<tt> [protected slot]</tt> </h3> -If <em>showIt</em> is TRUE, the dialog's extension is shown; otherwise the +If <em>showIt</em> is true, the dialog's extension is shown; otherwise the extension is hidden. <p> This slot is usually connected to the <a href="tqbutton.html#toggled">TQButton::toggled</a>() signal of a <a href="tqpushbutton.html">TQPushButton</a>. |