diff options
Diffstat (limited to 'kexi/kexidb/driver.cpp')
-rw-r--r-- | kexi/kexidb/driver.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/kexidb/driver.cpp b/kexi/kexidb/driver.cpp index 4db1b400..d760a004 100644 --- a/kexi/kexidb/driver.cpp +++ b/kexi/kexidb/driver.cpp @@ -106,16 +106,16 @@ bool Driver::isValid() { setError(ERR_INCOMPAT_DRIVER_VERSION, i18n("Incompatible database driver's \"%1\" version: found version %2, expected version %3.") - .tqarg(name()) - .tqarg(TQString("%1.%2").tqarg(version().major).tqarg(version().minor)) - .tqarg(TQString("%1.%2").tqarg(KexiDB::version().major).tqarg(KexiDB::version().minor))); + .arg(name()) + .arg(TQString("%1.%2").arg(version().major).arg(version().minor)) + .arg(TQString("%1.%2").arg(KexiDB::version().major).arg(KexiDB::version().minor))); return false; } - TQString inv_impl = i18n("Invalid database driver's \"%1\" implementation:\n").tqarg(name()); + TQString inv_impl = i18n("Invalid database driver's \"%1\" implementation:\n").arg(name()); TQString not_init = i18n("Value of \"%1\" is not initialized for the driver."); if (beh->ROW_ID_FIELD_NAME.isEmpty()) { - setError(ERR_INVALID_DRIVER_IMPL, inv_impl + not_init.tqarg("DriverBehaviour::ROW_ID_FIELD_NAME")); + setError(ERR_INVALID_DRIVER_IMPL, inv_impl + not_init.arg("DriverBehaviour::ROW_ID_FIELD_NAME")); return false; } @@ -135,7 +135,7 @@ TQString Driver::fileDBDriverMimeType() const { return d->fileDBDriverMimeType; } TQString Driver::defaultFileBasedDriverMimeType() -{ return TQString::tqfromLatin1("application/x-kexiproject-sqlite3"); } +{ return TQString::fromLatin1("application/x-kexiproject-sqlite3"); } TQString Driver::defaultFileBasedDriverName() { @@ -282,7 +282,7 @@ TQString Driver::valueToSQL( uint ftype, const TQVariant& v ) const return dateTimeToSQL( v.toDateTime() ); case Field::BLOB: { if (v.toByteArray().isEmpty()) - return TQString::tqfromLatin1("NULL"); + return TQString::fromLatin1("NULL"); if (v.type()==TQVariant::String) return escapeBLOB(v.toString().utf8()); return escapeBLOB(v.toByteArray()); |