summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/wizards/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-30 14:27:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-25 16:29:01 +0900
commita7f1e6e2552d9cdbb3d76bff089db522248b9a24 (patch)
tree2e6dd07698083df817163d572443aaf6fdd26651 /tools/designer/plugins/wizards/main.cpp
parent2584dba8aabfa2db8297dcfa258d33545ed6af43 (diff)
downloadtqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.tar.gz
tqt-a7f1e6e2552d9cdbb3d76bff089db522248b9a24.zip
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/plugins/wizards/main.cpp')
-rw-r--r--tools/designer/plugins/wizards/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/designer/plugins/wizards/main.cpp b/tools/designer/plugins/wizards/main.cpp
index cca81382a..9388119e3 100644
--- a/tools/designer/plugins/wizards/main.cpp
+++ b/tools/designer/plugins/wizards/main.cpp
@@ -63,7 +63,7 @@ private:
};
StandardTemplateWizardInterface::StandardTemplateWizardInterface()
- : inUse( FALSE )
+ : inUse( false )
{
}
@@ -73,7 +73,7 @@ StandardTemplateWizardInterface::~StandardTemplateWizardInterface()
bool StandardTemplateWizardInterface::init()
{
- return TRUE;
+ return true;
}
void StandardTemplateWizardInterface::cleanup()
@@ -99,23 +99,23 @@ TQStringList StandardTemplateWizardInterface::featureList() const
void StandardTemplateWizardInterface::setup( const TQString &templ, TQWidget *widget, DesignerFormWindow *fw, TQUnknownInterface *aIface )
{
- inUse = TRUE;
+ inUse = true;
#ifndef TQT_NO_SQL
if ( templ == "TQDesignerDataView" ||
templ == "TQDesignerDataBrowser" ||
templ == "TQDataView" ||
templ == "TQDataBrowser" ||
templ == "TQDataTable" ) {
- SqlFormWizard wizard( aIface, widget, tqApp->mainWidget(), fw, 0, TRUE );
+ SqlFormWizard wizard( aIface, widget, tqApp->mainWidget(), fw, 0, true );
wizard.exec();
}
#endif
if ( templ == "TQMainWindow" ) {
- MainWindowWizardBase wizard( tqApp->mainWidget(), 0, TRUE );
+ MainWindowWizardBase wizard( tqApp->mainWidget(), 0, true );
wizard.setAppInterface( aIface, fw, widget );
wizard.exec();
}
- inUse = FALSE;
+ inUse = false;
}
TQRESULT StandardTemplateWizardInterface::queryInterface( const TQUuid& uuid, TQUnknownInterface** iface )