Commit graph

38 commits

Author SHA1 Message Date
Ivailo Monev
393101ed0e kded: use the application instance as parent for the KHostnameD pointer
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 06:53:00 +03:00
Ivailo Monev
1391b07bca kded: Q_DBUS_EXPORT is always defined now
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 06:46:48 +03:00
Ivailo Monev
e3a0f02909 kded: fix possible crash
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 06:38:14 +03:00
Ivailo Monev
7a8cdcc01b kded: do not deep-copy the QString object when iterating over resource directories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 06:29:13 +03:00
Ivailo Monev
71e791e4d8 kded: ensure message filter does not process kded service unregistration messages
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 05:45:12 +03:00
Ivailo Monev
f0451272ec kded: parent the Kded object to the application instance
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 05:40:13 +03:00
Ivailo Monev
d9281db1f8 kded: refuse to start if service is already registered
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 04:34:18 +03:00
Ivailo Monev
7448e0b21d kded: disable session management via KApplication::disableSessionManagement()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 02:37:55 +03:00
Ivailo Monev
c8549a09f6 kded: remove now redundant command-line option
same as calling `kbuildsycoca4`

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 02:37:31 +03:00
Ivailo Monev
492be17944 kded: setup signals handler immediately after application is constructed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 02:17:59 +03:00
Ivailo Monev
32f2290ec3 kded: initialize all Kded members
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 02:17:04 +03:00
Ivailo Monev
07991ac99d kded: do not auto-restart on crash
D-Bus will start the kded4 if the service is required and not running

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 01:49:23 +03:00
Ivailo Monev
bf88004569 kded: unregister objects and service from destructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 01:48:20 +03:00
Ivailo Monev
0d2195c4d8 kded: start on demand as session D-Bus service
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 01:40:02 +03:00
Ivailo Monev
a6cee97e0b kded: rework sycoca database recreation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-11-14 17:47:13 +02:00
Ivailo Monev
92b5103cc7 kded: indent and format
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-07-06 03:30:21 +03:00
Ivailo Monev
63c78ae986 kded: avoid temporary in Kded::updateResourceList()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-01-02 21:30:25 +02:00
Ivailo Monev
c0e06f8215 generic: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-07-04 23:59:42 +00:00
Ivailo Monev
6c67e5adf8 generic: make use of QHostInfo::localHostName()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-06-21 19:56:58 +00:00
Ivailo Monev
aede58befc generic: reimplement KDirWatch
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-05-29 12:18:09 +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
fe63492fc7 kded: fix regression since 8493b8a0
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-21 23:56:48 +00:00
Ivailo Monev
8493b8a06e generic: remove KDED/KCM compatility bits
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-21 20:56:30 +00:00
Ivailo Monev
376484dff8 generic: get rid of KLibrary
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-05 03:36:21 +02:00
Ivailo Monev
39b9ee37b2 generic: misc cleanups 2015-10-03 12:35:27 +03:00
Ivailo Monev
04145e76f6 kded: fix regression since 361cc4b2
the cookies server was not starting which means that all on-demand
started services were probably not started
2015-10-03 11:30:44 +03:00
Ivailo Monev
2eceb5f064 generic: misc cleanups 2015-09-27 01:19:30 +00:00
Ivailo Monev
361cc4b219 generic: misc cleanups 2015-09-23 02:45:53 +00:00
Ivailo Monev
fde07d67d7 generic: misc cleanups 2015-09-05 13:31:12 +00:00
Ivailo Monev
afb86c68ea kded: drop legacy code 2015-08-25 18:14:11 +03:00
Ivailo Monev
c64c2e9e59 kded: remove remains of kconf_update 2015-07-21 15:38:17 +03:00
Ivailo Monev
5b95e5fd38 kded: actually monitor for hostname changes
this fixes a lot of issues related to hostname changes,
especially when NetworkManager is in use which tends to change
it after successfull connection breaking X11 apps in the process
which rely on hostname based authority via magic cookies and what
not.
2015-07-20 04:17:50 +03:00
Ivailo Monev
a8ac3f9cd9 generic: drop kconf_update and support for it in kded
since most of the settings are "frozen" now there is little to no
chance that it will be needed. CMake files that reference paths
for installing .upd files are left intact for now.
2015-07-08 05:13:12 +03:00
Ivailo Monev
7d0dd6d541 generic: stop using kdeinit for main applications 2015-05-09 16:39:13 +00:00
Ivailo Monev
5333e9917d generic: remove deprecated API 2015-02-28 03:27:54 +00: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
3f0dd268de remove win and mac cruft 2014-11-27 18:22:42 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00