summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/driver.cpp')
-rw-r--r--kexi/kexidb/driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/driver.cpp b/kexi/kexidb/driver.cpp
index 953243e4..73b4f29c 100644
--- a/kexi/kexidb/driver.cpp
+++ b/kexi/kexidb/driver.cpp
@@ -275,9 +275,9 @@ TQString Driver::valueToSQL( uint ftype, const TQVariant& v ) const
case Field::Boolean:
return TQString::number(v.toInt()?1:0); //0 or 1
case Field::Time:
- return TQString("\'")+v.toTime().toString(Qt::ISODate)+"\'";
+ return TQString("\'")+v.toTime().toString(TQt::ISODate)+"\'";
case Field::Date:
- return TQString("\'")+v.toDate().toString(Qt::ISODate)+"\'";
+ return TQString("\'")+v.toDate().toString(TQt::ISODate)+"\'";
case Field::DateTime:
return dateTimeToSQL( v.toDateTime() );
case Field::BLOB: {