From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- src/sql/drivers/sqlite/qsql_sqlite.cpp | 8 ++++---- src/sql/drivers/sqlite/qsql_sqlite.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/sql/drivers/sqlite') 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 #include -#if (QT_VERSION-0 < 0x030000) +#if (TQT_VERSION-0 < 0x030000) # include # if !defined Q_WS_WIN32 # include @@ -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"); diff --git a/src/sql/drivers/sqlite/qsql_sqlite.h b/src/sql/drivers/sqlite/qsql_sqlite.h index 300642ce1..ff05ede60 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.h +++ b/src/sql/drivers/sqlite/qsql_sqlite.h @@ -21,7 +21,7 @@ #include #include "../cache/qsqlcachedresult.h" -#if (QT_VERSION-0 >= 0x030000) +#if (TQT_VERSION-0 >= 0x030000) typedef TQVariant TQSqlVariant; #endif -- cgit v1.2.3