summaryrefslogtreecommitdiffstats
path: root/doc/html/extension-dialog-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/extension-dialog-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/extension-dialog-example.html')
-rw-r--r--doc/html/extension-dialog-example.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/extension-dialog-example.html b/doc/html/extension-dialog-example.html
index 20700509e..999ecfed9 100644
--- a/doc/html/extension-dialog-example.html
+++ b/doc/html/extension-dialog-example.html
@@ -73,16 +73,16 @@ DBFILE = extension.db
void MainForm::init()
{
- sessions = FALSE;
- logging = FALSE;
+ sessions = false;
+ logging = false;
log_filename = <a href="ntqstring.html#TQString-null">TQString::null</a>;
- log_errors = TRUE;
- log_actions = TRUE;
+ log_errors = true;
+ log_actions = true;
}
void MainForm::optionsDlg()
{
- DialogForm *dlg = new DialogForm( this, "dialog", TRUE );
+ DialogForm *dlg = new DialogForm( this, "dialog", true );
Extension *ext = (Extension*)dlg-&gt;extension()-&gt;qt_cast( "Extension" );
if ( !ext )
return;
@@ -116,7 +116,7 @@ void MainForm::quit()
void DialogForm::init()
{
- extensionShown = FALSE;
+ extensionShown = false;
setExtension( new Extension( this ) );
setOrientation( Vertical );
}