diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:13:41 +0900 |
commit | 1a7a57976491e8df569198d8e903bf9e57e233f0 (patch) | |
tree | a45ca34d705aeeacfcb9fb2abf9c254d4ebf8269 /kbabel/common | |
parent | ff5a38ceb1f92082da2f5f65913bf590c20ccbc3 (diff) | |
download | tdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.tar.gz tdesdk-1a7a57976491e8df569198d8e903bf9e57e233f0.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); |