summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/wizards/sqlformwizardimpl.cpp
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/wizards/sqlformwizardimpl.cpp
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/wizards/sqlformwizardimpl.cpp')
-rw-r--r--tools/designer/plugins/wizards/sqlformwizardimpl.cpp6
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();