diff options
Diffstat (limited to 'kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp')
-rw-r--r-- | kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp b/kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp index bccfd11b..7a811d55 100644 --- a/kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp +++ b/kexi/kexidb/drivers/sqlite/sqlitepreparedstatement.cpp @@ -178,7 +178,7 @@ bool SQLitePreparedStatement::execute() break; case KexiDB::Field::Time: res = sqlite3_bind_text(prepared_st_handle, arg, - TQString((*it).toTime().toString(Qt::ISODate)).latin1(), + TQString((*it).toTime().toString(TQt::ISODate)).latin1(), sizeof("HH:MM:SS"), SQLITE_TRANSIENT /*??*/); if (SQLITE_OK != res) { //! @todo msg? @@ -187,7 +187,7 @@ bool SQLitePreparedStatement::execute() break; case KexiDB::Field::Date: res = sqlite3_bind_text(prepared_st_handle, arg, - TQString((*it).toDate().toString(Qt::ISODate)).latin1(), + TQString((*it).toDate().toString(TQt::ISODate)).latin1(), sizeof("YYYY-MM-DD"), SQLITE_TRANSIENT /*??*/); if (SQLITE_OK != res) { //! @todo msg? @@ -196,7 +196,7 @@ bool SQLitePreparedStatement::execute() break; case KexiDB::Field::DateTime: res = sqlite3_bind_text(prepared_st_handle, arg, - (*it).toDateTime().toString(Qt::ISODate).latin1(), + (*it).toDateTime().toString(TQt::ISODate).latin1(), sizeof("YYYY-MM-DDTHH:MM:SS"), SQLITE_TRANSIENT /*??*/); if (SQLITE_OK != res) { //! @todo msg? |