diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/sql/drivers/sqlite/qsql_sqlite.cpp | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'src/sql/drivers/sqlite/qsql_sqlite.cpp')
-rw-r--r-- | src/sql/drivers/sqlite/qsql_sqlite.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index 1662a6e8c..35033667b 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp @@ -18,7 +18,7 @@ #include <ntqregexp.h> #include <ntqfile.h> -#if (QT_VERSION-0 < 0x030000) +#if (TQT_VERSION-0 < 0x030000) # include <ntqvector.h> # if !defined Q_WS_WIN32 # include <unistd.h> @@ -303,7 +303,7 @@ bool TQSQLiteDriver::hasFeature(DriverFeature f) const switch (f) { case Transactions: return TRUE; -#if (QT_VERSION-0 >= 0x030000) +#if (TQT_VERSION-0 >= 0x030000) case Unicode: return d->utf8; #endif @@ -414,7 +414,7 @@ TQStringList TQSQLiteDriver::tables(const TQString &typeName) const TQSqlQuery q = createQuery(); q.setForwardOnly(TRUE); -#if (QT_VERSION-0 >= 0x030000) +#if (TQT_VERSION-0 >= 0x030000) if ((type & (int)TQSql::Tables) && (type & (int)TQSql::Views)) q.exec("SELECT name FROM sqlite_master WHERE type='table' OR type='view'"); else if (typeName.isEmpty() || (type & (int)TQSql::Tables)) @@ -431,7 +431,7 @@ TQStringList TQSQLiteDriver::tables(const TQString &typeName) const res.append(q.value(0).toString()); } -#if (QT_VERSION-0 >= 0x030000) +#if (TQT_VERSION-0 >= 0x030000) if (type & (int)TQSql::SystemTables) { // there are no internal tables beside this one: res.append("sqlite_master"); |