summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/wizards/main.cpp
diff options
context:
space:
mode:
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 )