diff options
Diffstat (limited to 'tools/designer/plugins/wizards/sqlformwizardimpl.cpp')
-rw-r--r-- | tools/designer/plugins/wizards/sqlformwizardimpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp index 40c54e04d..5da841fe6 100644 --- a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp +++ b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp @@ -50,7 +50,7 @@ #include <ntqspinbox.h> #include <limits.h> -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL #include <ntqdatatable.h> #include <ntqdatabrowser.h> #include <ntqdataview.h> @@ -154,7 +154,7 @@ void SqlFormWizard::autoPopulate( bool populate ) // remove primary index fields, if any listBoxSortField->insertStringList( lst ); d->open( FALSE ); -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL TQSqlCursor tab( listBoxTable->currentText(), TRUE, d->connection() ); TQSqlIndex pIdx = tab.primaryIndex(); for ( uint i = 0; i < pIdx.count(); i++ ) { @@ -323,7 +323,7 @@ void SqlFormWizard::accept() if ( !appIface || mode == None ) return; -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL DesignerProject *proIface = (DesignerProject*)( (DesignerInterface*)appIface )->currentProject(); if ( !widget || !proIface ) { SqlFormWizardBase::accept(); |