summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-06 20:38:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-06 20:38:40 -0600
commiteb1d1e0dec5720ace27395e290b7093cd68b150d (patch)
tree04a199ef5ea853d86a6f9a44716c0874d41c20f6 /tools/designer/plugins
parentae8aba1e0f17943046e6bfa889b169f7fc41da0d (diff)
downloadtqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.tar.gz
tqt3-eb1d1e0dec5720ace27395e290b7093cd68b150d.zip
Automated update from qt3
Diffstat (limited to 'tools/designer/plugins')
-rw-r--r--tools/designer/plugins/cppeditor/cppbrowser.cpp2
-rw-r--r--tools/designer/plugins/wizards/sqlformwizardimpl.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/tools/designer/plugins/cppeditor/cppbrowser.cpp b/tools/designer/plugins/cppeditor/cppbrowser.cpp
index 8d3e68bc1..8d03931b7 100644
--- a/tools/designer/plugins/cppeditor/cppbrowser.cpp
+++ b/tools/designer/plugins/cppeditor/cppbrowser.cpp
@@ -72,7 +72,7 @@ void CppEditorBrowser::showHelp( const TQString &w )
}
}
- TQMainWindow *mw = ::qt_cast<TQMainWindow*>(curEditor->topLevelWidget());
+ TQMainWindow *mw = ::tqt_cast<TQMainWindow*>(curEditor->topLevelWidget());
if ( mw )
mw->statusBar()->message( tr( "Nothing available for '%1'" ).arg( w ), 1500 );
}
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 );
}