Commit graph

17 commits

Author SHA1 Message Date
Ivailo Monev
6784f51d58 kdeui: tweak KNotificationManager and KGlobalAccel for automatic service activation
KGlobalAccelPrivate uses service watcher and the interface is invalid until
the service is activated (either by the first call of the interface or some
other lazy-initialization method), however KNotificationManager does
connect to signals immediately (which should work regardless) but the error
may have been logged before

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-09 12:00:23 +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
51a8d308a1 kdeui: format notification source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 10:10:44 +03:00
Ivailo Monev
71a479f48c kdeui: use typedef from KNotification class in KNotificationManager
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 09:52:25 +03:00
Ivailo Monev
26d0aa0859 kdeui: get rid of KNotificationManager::Private struct
KNotificationManager is private class

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 09:49:03 +03:00
Ivailo Monev
37af6aab44 kdeui: remove unused typedef in knotificationmanager source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 09:30:24 +03:00
Ivailo Monev
23873e50ec kdeui: de-duplicate code inknotificationmanager source file
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-27 09:29:15 +03:00
Ivailo Monev
73557bd107 kdeui: save and load notification pixmaps in the default QImageWriter format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-20 15:14:01 +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
5d6db58b4d generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-17 01:08:55 +00:00
Ivailo Monev
40ddf974db generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 11:51:14 +00:00
Ivailo Monev
76b1d7b44e generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-09 20:53:03 +02:00
Ivailo Monev
b451b9602e generic: misc cleanups 2015-09-22 10:34:04 +00:00
Ivailo Monev
a45755d5a1 generic: misc cleanups 2015-09-04 21:57:46 +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