diff options
Diffstat (limited to 'tools/designer/plugins')
-rw-r--r-- | tools/designer/plugins/wizards/main.cpp | 6 | ||||
-rw-r--r-- | tools/designer/plugins/wizards/sqlformwizardimpl.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/designer/plugins/wizards/main.cpp b/tools/designer/plugins/wizards/main.cpp index 5060ec7ee..159252a42 100644 --- a/tools/designer/plugins/wizards/main.cpp +++ b/tools/designer/plugins/wizards/main.cpp @@ -35,7 +35,7 @@ #include <ntqfeatures.h> #include <ntqwidget.h> #include <templatewizardiface.h> -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL #include "sqlformwizardimpl.h" #endif #include "mainwindowwizard.h" @@ -88,7 +88,7 @@ bool StandardTemplateWizardInterface::canUnload() const TQStringList StandardTemplateWizardInterface::featureList() const { TQStringList list; -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL list << "TQDataBrowser" << "TQDesignerDataBrowser" << "TQDataView" << \ "TQDesignerDataView" << "TQDataTable"; #endif @@ -100,7 +100,7 @@ TQStringList StandardTemplateWizardInterface::featureList() const void StandardTemplateWizardInterface::setup( const TQString &templ, TQWidget *widget, DesignerFormWindow *fw, TQUnknownInterface *aIface ) { inUse = TRUE; -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL if ( templ == "TQDesignerDataView" || templ == "TQDesignerDataBrowser" || templ == "TQDataView" || 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(); |