Commit graph

19 commits

Author SHA1 Message Date
Ivailo Monev
1a45508306 kdecore: reimplement KLocale
by using QLocale in KLocale and separating the date, time and numbers
conversion from translation KLocale actually gets extended locale
support from QLocale (which uses CLDR data v43 currently). translation
remains unaffected. for comparison here is the result of two function
calls the result of which should explain the whole change:
KLocale::allLanguagesList().size() = 669
KLocale::installedLanguages().size() = 68

the first number is locales Katie supports, the second being the
number of languages Katana is translated into

KSwitchLanguageDialog needs a rewrite but that is on the TODO

also copyrighting KCatalog to me because I rewrote it, for reference:
881b47b8ea

KCalendarSystem gets the middle finger - batteries not included for date
and time. extra calendar systems can, but are unlikely to be, supported
in the future

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-26 23:50:18 +03:00
Ivailo Monev
c29db4dd9c kdeui: remove toolbar directory from appicon resource
no icons are installed there

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 16:53:34 +03:00
Ivailo Monev
84de49081c kdeui: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 08:42:33 +03:00
Ivailo Monev
720443b314 kdeui: remove unused headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 08:31:16 +03:00
Ivailo Monev
10783de5e2 kdeui: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 07:58:16 +03:00
Ivailo Monev
0254e23e32 kdeui: virtualize KWidgetJobTracker methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 07:49:16 +03:00
Ivailo Monev
3923cb4dca kdeui: adjust to kuiserver changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-27 03:21:59 +03:00
Ivailo Monev
8609952af1 generic: replace use of QTime as timer with QElapsedTimer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-07 12:21:32 +03:00
Ivailo Monev
c63f00ec2a kio: move KDynamicJobTracker to kdeui and export it as public class
to be used by kprintjobs and possibly more, also added camelcase header
for KUiServerJobTracker

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-07 03:09:21 +03:00
Ivailo Monev
4ba42b20e1 kdeui: implement hidden KUiServerJobTracker feature to override the application name and icon
also updated the D-Bus interface file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-06 19:33:17 +03:00
Ivailo Monev
786a11eeb0 kdeui: format and indent kdialogjobuidelegate source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-23 03:35:16 +02:00
Ivailo Monev
0e980c95cc kdeui: remove redundant attempts to start D-Bus services
creating QDBusInterface should start the services, in case the services
cannot be started tho delays may be experienced (such as the UI freezing
while waiting for D-Bus reply to finish) thus logging error

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 03:40:07 +02:00
Ivailo Monev
5b03742ff8 kdeui: remove unused KStyle methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-23 04:13:50 +03:00
Ivailo Monev
609dc64f8a kdeui: fix on-demand starting of kuiserver, knotify4 and kglobalaccel services
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-23 21:24:47 +03:00
Ivailo Monev
bacb8d64e6 kdeui: replace org.kde.JobView with org.kde.JobViewV2 interface
for reference:
a42d981176/kuiserver/progresslistmodel.cpp (L282)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-14 20:04:09 +03: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
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