diff options
Diffstat (limited to 'src/svnqt/cache/sqlite3/qsql_sqlite3.cpp')
-rw-r--r-- | src/svnqt/cache/sqlite3/qsql_sqlite3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp index a5faff5..6a8bea2 100644 --- a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp +++ b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp @@ -128,7 +128,7 @@ void TQSQLite3ResultPrivate::initColumns() for (int i = 0; i < nCols; ++i) { TQString colName = TQString::fromUtf8(sqlite3_column_name(stmt, i)); - int dotIdx = colName.tqfindRev('.'); + int dotIdx = colName.findRev('.'); rInf.append(TQSqlField(colName.mid(dotIdx == -1 ? 0 : dotIdx + 1), qSqliteType(sqlite3_column_type(stmt, i)))); } @@ -427,8 +427,8 @@ TQSqlIndex TQSQLite3Driver::primaryIndex(const TQString &tblname) const while(q.next()) { TQString name = q.value(2).toString(); TQSqlVariant::Type type = TQSqlVariant::Invalid; - if (rec.tqcontains(name)) - type = rec.tqfind(name).type(); + if (rec.contains(name)) + type = rec.find(name).type(); index.append(TQSqlField(name, type)); } return index; |