Use a kcfg file to specify virtual desktops settings saved to kwinrc.
Details
Details
- Reviewers
ervin - Group Reviewers
KWin - Commits
- R108:930c2d69a714: [KCM/Desktop] Use KConfig XT to store virtualdesktops related settings
kcmshell5 kcm_kwin_virtualdesktops
Change something, check apply buttons works appropriately
Save the settings and relaunch the kcm, the new settings are taken loaded correctly
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Mostly looks good, needs some tuning in the kcfg to make the generated code API nicer on the C++ side.
kcmkwin/kwindesktop/virtualdesktopssettings.kcfg | ||
---|---|---|
9 | I'd use rollOverDesktop for the name parameter to have proper camel casing on the C++ side | |
15 | I'd use desktopChangeOsdEnabled for the name parameter to have proper camel casing on the C++ side |