Commit graph

14 commits

Author SHA1 Message Date
Ivailo Monev
de31c50479 kdecore: drop support for all but gregorian and julian calendars
additional calendar systems can be supported via ICU in the future but
for now that will be more than enough considering other things such as
QDateTime and QCalendarWidget, the gregorian and julian calendars being
common, etc.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 22:58:43 +03:00
Ivailo Monev
2cf411e2ed kdecore: remove unused and deprecated KLocale/KCalendarSystem setters and getters
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-23 08:04:44 +03:00
Ivailo Monev
f452e2e50b kdecore: reimplement KDateTime via QDateTime
KDateTime shall be used only for storing date and time while KLocale
shall be used to display such, not even going to test what KDateTime
does because it is basically a few methods on top of QDateTime now.

and because QDateTime knows not much about calendar systems while
KLocale supports several it makes sense for KDateTime to not be used for
displaying date and time thus the TODOs for KLocale are simply removed

note that KLocale still uses its own parser and formatter which means
that the change affects only KDateTime and its uses, not KLocale

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-21 07:51:13 +03:00
Ivailo Monev
e3ca186a3f kdecore: do not assume translations are installed in KLocale test case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-19 20:22:27 +02:00
Ivailo Monev
c0d5ff224b generic: using timezone related classes no longer requires org.kde.kded service
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-06 23:41:36 +03:00
Ivailo Monev
fbd4a17ac2 kdecore: drop currency and monetary support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-24 14:43:11 +03:00
Ivailo Monev
70e051e57e kdecore: plug memory leak in KLocaleTest
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-09-03 20:32:38 +03:00
Ivailo Monev
681beac91c Revert "kdecore: adjust expected data of KLocaleTest::languages() test case"
This reverts commit c82efdb5d9.
2021-07-26 02:45:57 +03:00
Ivailo Monev
31c7d13b0a generic: replace internal with Katie definition checks or remove them completely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-10 01:26:06 +03:00
Ivailo Monev
c82efdb5d9 kdecore: adjust expected data of KLocaleTest::languages() test case
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-02 02:26:52 +00:00
Ivailo Monev
eefd1b6b66 kdecore: fix klocale test
there are no en_US translations

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-29 14:58:06 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00