summaryrefslogtreecommitdiffstats
path: root/kexi/migration/keximigrate.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/migration/keximigrate.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/migration/keximigrate.cpp')
-rw-r--r--kexi/migration/keximigrate.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/migration/keximigrate.cpp b/kexi/migration/keximigrate.cpp
index 989a002a..fc11d0cd 100644
--- a/kexi/migration/keximigrate.cpp
+++ b/kexi/migration/keximigrate.cpp
@@ -168,7 +168,7 @@ bool KexiMigrate::performImport(Kexi::ObjecttqStatus* result)
result->settqStatus(&drvManager);
return false;
}
- const bool kexi__objects_exists = tables.tqfind("kexi__objects")!=tables.end();
+ const bool kexi__objects_exists = tables.find("kexi__objects")!=tables.end();
TQStringList kexiDBTables;
if (kexi__objects_exists) {
tristate res = drv_queryStringListFromSQL(
@@ -344,13 +344,13 @@ bool KexiMigrate::performImport(Kexi::ObjecttqStatus* result)
if (m_migrateData->keepData) {
//! @todo check detailed "copy forms/blobs/tables" flags here when we add them
// Copy data for "kexi__objectdata" as well, if available in the source db
- if (tables.tqfind("kexi__objectdata")!=tables.end())
+ if (tables.find("kexi__objectdata")!=tables.end())
m_tableSchemas.append(destConn->tableSchema("kexi__objectdata"));
// Copy data for "kexi__blobs" as well, if available in the source db
- if (tables.tqfind("kexi__blobs")!=tables.end())
+ if (tables.find("kexi__blobs")!=tables.end())
m_tableSchemas.append(destConn->tableSchema("kexi__blobs"));
// Copy data for "kexi__fields" as well, if available in the source db
- if (tables.tqfind("kexi__fields")!=tables.end())
+ if (tables.find("kexi__fields")!=tables.end())
m_tableSchemas.append(destConn->tableSchema("kexi__fields"));
}
@@ -371,7 +371,7 @@ bool KexiMigrate::performImport(Kexi::ObjecttqStatus* result)
}
kdDebug() << "Copying data for table: " << tname << endl;
TQString originalTableName;
- if (kexiDBTables.tqfind(tname)==kexiDBTables.end())
+ if (kexiDBTables.find(tname)==kexiDBTables.end())
//caption is equal to the original name
originalTableName = ts.current()->caption().isEmpty() ? tname : ts.current()->caption();
else