diff options
Diffstat (limited to 'tools/designer/plugins/wizards')
-rw-r--r-- | tools/designer/plugins/wizards/sqlformwizardimpl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp index 580780de4..a89cb8d38 100644 --- a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp +++ b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp @@ -69,18 +69,18 @@ SqlFormWizard::SqlFormWizard( TQUnknownInterface *aIface, TQWidget *w, setFinishEnabled( finishPage, TRUE ); /* set mode of operation */ - if ( ::qt_cast<TQDataTable*>(widget) ) { + if ( ::tqt_cast<TQDataTable*>(widget) ) { setCaption( "Data Table Wizard" ); mode = Table; setAppropriate( navigPage, FALSE ); setAppropriate( layoutPage, FALSE ); checkBoxAutoEdit->setChecked( FALSE ); - } else if ( ::qt_cast<TQDataBrowser*>(widget) ) { + } else if ( ::tqt_cast<TQDataBrowser*>(widget) ) { setCaption( "Data Browser Wizard" ); setAppropriate( tablePropertiesPage, FALSE ); mode = Browser; checkBoxAutoEdit->setChecked( TRUE ); - } else if ( ::qt_cast<TQDataView*>(widget) ) { + } else if ( ::tqt_cast<TQDataView*>(widget) ) { setCaption( "Data View Wizard" ); setAppropriate( tablePropertiesPage, FALSE ); setAppropriate( navigPage, FALSE ); @@ -450,7 +450,7 @@ void SqlFormWizard::accept() ((TQLineEdit*)editor)->setAlignment( TQt::AlignRight ); formWindow->setPropertyChanged( editor, "alignment", TRUE ); } - if ( ::qt_cast<TQSpinBox*>(editor) ) { + if ( ::tqt_cast<TQSpinBox*>(editor) ) { ( (TQSpinBox*)editor )->setMaxValue( INT_MAX ); formWindow->setPropertyChanged( editor, "maxValue", TRUE ); } |