summaryrefslogtreecommitdiffstats
path: root/src/svnqt/cache/sqlite3
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit93f9fda465964160b66d9252d2cf9b4c284eab50 (patch)
tree51575108fadbf39900f2168fc504ad66b59906c3 /src/svnqt/cache/sqlite3
parent4be907152dfb5461311d9db1d63120c28a0bad0a (diff)
downloadtdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.tar.gz
tdesvn-93f9fda465964160b66d9252d2cf9b4c284eab50.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnqt/cache/sqlite3')
-rw-r--r--src/svnqt/cache/sqlite3/qsql_sqlite3.cpp6
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;