From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- kexi/migration/keximigrate.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi/migration/keximigrate.cpp') 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 -- cgit v1.2.1