summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /tools/designer/plugins
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/plugins')
-rw-r--r--tools/designer/plugins/wizards/main.cpp6
-rw-r--r--tools/designer/plugins/wizards/sqlformwizardimpl.cpp6
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();