Commit graph

11 commits

Author SHA1 Message Date
Ivailo Monev
199278af4a kdecore: document the two important methods of KDateTime
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-22 00:51:24 +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
d30fc8d22a kdecore: KSystemTimeZones rewrite to not require daemon
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-01 12:20:38 +03:00
Ivailo Monev
16e3253170 kdecore: implement KDateTime::isNightTime()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-29 19:50:21 +03:00
Ivailo Monev
e29f7a0687 kdecore: replace use of deprecated Qt::DateFormat enums
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-24 18:40:53 +00:00
Ivailo Monev
42b418eca5 kdecore: namespaced Qt4/Katie build fixes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-29 11:42:39 +00:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
5f025e2a91 kdecore: remove unnecessary headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 14:27:46 +00:00
Ivailo Monev
eeba19d4c4 generic: misc cleanups 2015-09-04 13:06:11 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00