diff options
Diffstat (limited to 'kbabel/common')
-rw-r--r-- | kbabel/common/catalog.cpp | 6 | ||||
-rw-r--r-- | kbabel/common/catalogsettings.h | 2 | ||||
-rw-r--r-- | kbabel/common/kbproject.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/common/catalog.cpp b/kbabel/common/catalog.cpp index a3c4fdcd..fcf50750 100644 --- a/kbabel/common/catalog.cpp +++ b/kbabel/common/catalog.cpp @@ -1807,12 +1807,12 @@ TQString Catalog::dateTime() const switch(options.dateFormat) { - case Qt::LocalDate: + case TQt::LocalDate: { dateTimeString = TDEGlobal::locale()->formatDateTime( dt ); break; } - case Qt::ISODate: + case TQt::ISODate: { dateTimeString = dt.toString("yyyy-MM-dd hh:mm"); TQTime t; @@ -1823,7 +1823,7 @@ TQString Catalog::dateTime() const dateTimeString += t.toString("hhmm"); break; } - case Qt::TextDate: + case TQt::TextDate: { dateTimeString = options.customDateFormat; diff --git a/kbabel/common/catalogsettings.h b/kbabel/common/catalogsettings.h index f1426a3c..552f88c5 100644 --- a/kbabel/common/catalogsettings.h +++ b/kbabel/common/catalogsettings.h @@ -63,7 +63,7 @@ struct KDE_EXPORT SaveSettings int encoding; bool useOldEncoding; - Qt::DateFormat dateFormat; + TQt::DateFormat dateFormat; TQString customDateFormat; TQString projectString; diff --git a/kbabel/common/kbproject.cpp b/kbabel/common/kbproject.cpp index 35ce08a5..cdd99b05 100644 --- a/kbabel/common/kbproject.cpp +++ b/kbabel/common/kbproject.cpp @@ -250,7 +250,7 @@ SaveSettings Project::saveSettings () settings.autoSyntaxCheck = _settings->autoSyntaxCheck(); settings.saveObsolete = _settings->saveObsolete(); settings.customDateFormat = _settings->customDateFormat(); - settings.dateFormat = (Qt::DateFormat)_settings->dateFormat(); + settings.dateFormat = (TQt::DateFormat)_settings->dateFormat(); settings.updateDescription = _settings->updateDescription(); settings.descriptionString = _settings->descriptionString(); settings.updateTranslatorCopyright = _settings->updateTranslatorCopyright(); |