diff options
author | Mavridis Philippe <[email protected]> | 2025-01-14 16:02:12 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2025-01-15 15:22:02 +0200 |
commit | d3787d1dc415184f196dc5766c34082fd385e93c (patch) | |
tree | 504595b04aed6511d2024716c7686e4fa9240a29 /translations/desktop_files/tdepasswd-desktops/tr.po | |
parent | f140898676a7e083441b64f92dff7f4f10f6c7b4 (diff) | |
download | tdebase-d3787d1dc415184f196dc5766c34082fd385e93c.tar.gz tdebase-d3787d1dc415184f196dc5766c34082fd385e93c.zip |
KXkb: Catch and process changes to Xkb layouts and options
The XKBExtension class reports likely configuration changes to the main app which then updates its internal options object accordingly and marks some option sets as 'tainted'. A notification is produced to inform the user that an external application such as setxkbmap has changed some options. The next time the keyboard layout configuration module opens a dialog box asks the user to select to load either the KXkb configuration on disk or the currently active Xkb options. In both cases the user can then save and apply the preferred version of the configuration.
Other significant changes:
* Make XKBExtension a singleton so that only one instance of the class exists. The extension is initialized on first use.
* Add mutex to XKBExtension to prevent it from processing configuration changes likely caused by KXkb
* XKBExtension::getServerOptions() now also returns layout and variant information in a XkbOptions struct
* New KxkbConfig::setFromXkbOptions() member can update current configuration from a XkbOptions struct
* Add proper copyright header to extension.*
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'translations/desktop_files/tdepasswd-desktops/tr.po')
0 files changed, 0 insertions, 0 deletions