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 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sql/drivers/sqlite/qsql_sqlite.cpp') diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index 1662a6e8..35033667 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"); -- cgit v1.2.1