diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /kexi/kexidb/field.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kexi/kexidb/field.cpp')
-rw-r--r-- | kexi/kexidb/field.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/field.cpp b/kexi/kexidb/field.cpp index 41cce80b..e2dd698e 100644 --- a/kexi/kexidb/field.cpp +++ b/kexi/kexidb/field.cpp @@ -452,21 +452,21 @@ Field::setDefaultValue(const TQCString& def) m_defaultValue = TQVariant((bool)v); break; }case Date: {//YYYY-MM-DD - TQDate date = TQDate::fromString( def, Qt::ISODate ); + TQDate date = TQDate::fromString( def, TQt::ISODate ); if (!date.isValid()) m_defaultValue = TQVariant(); else m_defaultValue = TQVariant(date); break; }case DateTime: {//YYYY-MM-DDTHH:MM:SS - TQDateTime dt = TQDateTime::fromString( def, Qt::ISODate ); + TQDateTime dt = TQDateTime::fromString( def, TQt::ISODate ); if (!dt.isValid()) m_defaultValue = TQVariant(); else m_defaultValue = TQVariant(dt); break; }case Time: {//HH:MM:SS - TQTime time = TQTime::fromString( def, Qt::ISODate ); + TQTime time = TQTime::fromString( def, TQt::ISODate ); if (!time.isValid()) m_defaultValue = TQVariant(); else |