summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexipartmanager.cpp
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
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/core/kexipartmanager.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/core/kexipartmanager.cpp')
-rw-r--r--kexi/core/kexipartmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/core/kexipartmanager.cpp b/kexi/core/kexipartmanager.cpp
index 8cd8fc0e..00575461 100644
--- a/kexi/core/kexipartmanager.cpp
+++ b/kexi/core/kexipartmanager.cpp
@@ -81,7 +81,7 @@ Manager::lookup()
if (!Kexi::tempShowScripts() && mime=="kexi/script")
continue;
//</TEMP>
- int idx = sl_order.tqfindIndex( ptr->library() );
+ int idx = sl_order.findIndex( ptr->library() );
if (idx!=-1)
ordered.insert(idx, ptr);
else //add to end
@@ -254,11 +254,11 @@ Manager::checkProject(KexiDB::Connection *conn)
KexiDB::FieldList *fl = ts->subList("p_id", "p_name", "p_mime", "p_url");
if (!fl)
return false;
- if (!parts_found.tqcontains("kexi/table")) {
+ if (!parts_found.contains("kexi/table")) {
if (!conn->insertRecord(*fl, TQVariant(1), TQVariant("Tables"), TQVariant("kexi/table"), TQVariant("http://")))
return false;
}
- if (!parts_found.tqcontains("kexi/query")) {
+ if (!parts_found.contains("kexi/query")) {
if (!conn->insertRecord(*fl, TQVariant(2), TQVariant("Queries"), TQVariant("kexi/query"), TQVariant("http://")))
return false;
}