KEmoticons: use DBus to notify running processes of changes made in the KCM.

Review Request #129870 - Created Jan. 22, 2017 and submitted

Information
David Faure
kemoticons
master
Reviewers
kdeframeworks
mwolff
My recent performance fix stopped KEmoticons from reparsing kdeglobals
at ever call to currentThemeName(), which means that now we need to know
when to reparse. But actually by using a dbus signal we can just ship the
information in the signal, so no config file reparsing is needed.

Changing the emoticons theme in kcmshell5 emoticons while KMail is running. Then switching to another message in KMail uses the newly selected icon theme, without having to restart kmail.

Note: the "new" dependency on QtDBus isn't new, KEmoticons uses KService which depends on DBus already.

Milian Wolff
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit fcda4b09ce65d68b2d7cf77ef6485e06bb542111 by David Faure to branch master.
Loading...