summaryrefslogtreecommitdiffstats
path: root/kexi/migration/migratemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/migration/migratemanager.cpp')
-rw-r--r--kexi/migration/migratemanager.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kexi/migration/migratemanager.cpp b/kexi/migration/migratemanager.cpp
index 945f084c..2c0ce6cd 100644
--- a/kexi/migration/migratemanager.cpp
+++ b/kexi/migration/migratemanager.cpp
@@ -131,19 +131,19 @@ bool MigrateManagerInternal::lookupDrivers()
<< srv_name.lower() << "' driver's version -- skipping it!" << endl;
possibleProblems += TQString("\"%1\" migration driver has unrecognized version; "
"required driver version is \"%2.%3\"")
- .arg(srv_name.lower())
- .arg(KexiMigration::versionMajor()).arg(KexiMigration::versionMinor());
+ .tqarg(srv_name.lower())
+ .tqarg(KexiMigration::versionMajor()).tqarg(KexiMigration::versionMinor());
continue;
}
if (major_ver != KexiMigration::versionMajor() || minor_ver != KexiMigration::versionMinor()) {
KexiDBWarn << TQString("MigrateManagerInternal::lookupDrivers(): '%1' driver"
" has version '%2' but required migration driver version is '%3.%4'\n"
- " -- skipping this driver!").arg(srv_name.lower()).arg(srv_ver_str)
- .arg(KexiMigration::versionMajor()).arg(KexiMigration::versionMinor()) << endl;
+ " -- skipping this driver!").tqarg(srv_name.lower()).tqarg(srv_ver_str)
+ .tqarg(KexiMigration::versionMajor()).tqarg(KexiMigration::versionMinor()) << endl;
possibleProblems += TQString("\"%1\" migration driver has version \"%2\" "
"but required driver version is \"%3.%4\"")
- .arg(srv_name.lower()).arg(srv_ver_str)
- .arg(KexiMigration::versionMajor()).arg(KexiMigration::versionMinor());
+ .tqarg(srv_name.lower()).tqarg(srv_ver_str)
+ .tqarg(KexiMigration::versionMajor()).tqarg(KexiMigration::versionMinor());
continue;
}
//</COPIED>
@@ -188,7 +188,7 @@ KexiMigrate* MigrateManagerInternal::driver(const TQString& name)
return drv; //cached
if (!m_services_lcase.contains(name.lower())) {
- setError(ERR_DRIVERMANAGER, i18n("Could not find import/export database driver \"%1\".").arg(name) );
+ setError(ERR_DRIVERMANAGER, i18n("Could not find import/export database driver \"%1\".").tqarg(name) );
return 0;
}
@@ -201,7 +201,7 @@ KexiMigrate* MigrateManagerInternal::driver(const TQString& name)
if (!drv) {
setError(ERR_DRIVERMANAGER, i18n("Could not load import/export database driver \"%1\".")
- .arg(name) );
+ .tqarg(name) );
if (m_componentLoadingErrors.isEmpty()) {//fill errtable on demand
m_componentLoadingErrors[KParts::ComponentFactory::ErrNoServiceFound]="ErrNoServiceFound";
m_componentLoadingErrors[KParts::ComponentFactory::ErrServiceProvidesNoLibrary]="ErrServiceProvidesNoLibrary";
@@ -314,7 +314,7 @@ TQString MigrateManager::driverForMimeType(const TQString &mimeType)
KService::Ptr ptr = d_int->m_services_by_mimetype[mimeType.lower()];
if (!ptr) {
- kdDebug() << TQString("MigrateManager::driverForMimeType(%1) No such mimetype").arg(mimeType) << endl;
+ kdDebug() << TQString("MigrateManager::driverForMimeType(%1) No such mimetype").tqarg(mimeType) << endl;
return TQString();
}
@@ -325,7 +325,7 @@ KexiMigrate* MigrateManager::driver(const TQString& name)
{
KexiMigrate *drv = d_int->driver(name);
if (d_int->error()) {
- kdDebug() << TQString("MigrateManager::driver(%1) Error: %2").arg(name).arg(d_int->errorMsg()) << endl;
+ kdDebug() << TQString("MigrateManager::driver(%1) Error: %2").tqarg(name).tqarg(d_int->errorMsg()) << endl;
setError(d_int);
}
return drv;
@@ -363,7 +363,7 @@ TQString MigrateManager::possibleProblemsInfoMsg() const
for (TQStringList::ConstIterator it = d_int->possibleProblems.constBegin();
it!=d_int->possibleProblems.constEnd(); ++it)
{
- str += (TQString::fromLatin1("<li>") + *it + TQString::fromLatin1("</li>"));
+ str += (TQString::tqfromLatin1("<li>") + *it + TQString::tqfromLatin1("</li>"));
}
str += "</ul>";
return str;