summaryrefslogtreecommitdiffstats
path: root/doc/html/extension-dialog-example.html
diff options
context:
space:
mode:
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 4a7526a55..b318495b5 100644
--- a/doc/html/extension-dialog-example.html
+++ b/doc/html/extension-dialog-example.html
@@ -72,16 +72,16 @@ DBFILE = extension.db
void MainForm::init()
{
- sessions = FALSE;
- logging = FALSE;
+ sessions = false;
+ logging = false;
log_filename = <a href="tqstring.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;
@@ -115,7 +115,7 @@ void MainForm::quit()
void DialogForm::init()
{
- extensionShown = FALSE;
+ extensionShown = false;
setExtension( new Extension( this ) );
setOrientation( Vertical );
}