diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/migration/migratemanager.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-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/migratemanager.cpp')
-rw-r--r-- | kexi/migration/migratemanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/migration/migratemanager.cpp b/kexi/migration/migratemanager.cpp index 8cd26c3c..2c0ce6cd 100644 --- a/kexi/migration/migratemanager.cpp +++ b/kexi/migration/migratemanager.cpp @@ -112,7 +112,7 @@ bool MigrateManagerInternal::lookupDrivers() << ptr->property("Name").toString() << "\" service!\n -- skipped!" << endl; continue; } - if (m_services_lcase.tqcontains(srv_name.lower())) { + if (m_services_lcase.contains(srv_name.lower())) { continue; } @@ -152,7 +152,7 @@ bool MigrateManagerInternal::lookupDrivers() TQString drvType = ptr->property("X-Kexi-MigrationDriverType").toString().lower(); if (drvType=="file") { if (!mime.isEmpty()) { - if (!m_services_by_mimetype.tqcontains(mime)) { + if (!m_services_by_mimetype.contains(mime)) { m_services_by_mimetype.insert(mime, ptr); } else { @@ -183,16 +183,16 @@ KexiMigrate* MigrateManagerInternal::driver(const TQString& name) clearError(); KexiDBDbg << "MigrationrManagerInternal::migrationDriver(): loading " << name << endl; - KexiMigrate *drv = name.isEmpty() ? 0 : m_drivers.tqfind(name.latin1()); + KexiMigrate *drv = name.isEmpty() ? 0 : m_drivers.find(name.latin1()); if (drv) return drv; //cached - if (!m_services_lcase.tqcontains(name.lower())) { + if (!m_services_lcase.contains(name.lower())) { setError(ERR_DRIVERMANAGER, i18n("Could not find import/export database driver \"%1\".").tqarg(name) ); return 0; } - KService::Ptr ptr= *(m_services_lcase.tqfind(name.lower())); + KService::Ptr ptr= *(m_services_lcase.find(name.lower())); TQString srv_name = ptr->property("X-Kexi-MigrationDriverName").toString(); KexiDBDbg << "MigrateManagerInternal::driver(): library: "<<ptr->library()<<endl; |