Add standard method to display a "reboot the machine so the settings can take effect" message
Quite a few KCMs include settings that only fully take effect after the system is rebooted. Examples include:
- Cursors
- General Behavior
- KSMServer
- KScreen
- Region & Language
- Legacy X111 Apps
In every KCM we have to re-implement the same code over and over again. It would be nice if this functionality could be built-in, so that a KCM only had to something like this:
kcm.showRebootMessage(i18n("The system must be rebooted before [some setting] takes effect."));
We could do it in AbstractKCM in KDeclarative. We would want to make SimpleKCM a subclass of AbstractKCM so it only has to be implemented once.
We'd want to make sure that it's easy for the KCM itself to add its own custom messages below it without messing up the styling.