From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- tools/designer/plugins/wizards/main.cpp | 6 +++--- tools/designer/plugins/wizards/sqlformwizardimpl.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/designer/plugins') 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 #include #include -#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 #include -#ifndef QT_NO_SQL +#ifndef TQT_NO_SQL #include #include #include @@ -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(); -- cgit v1.2.1