Jump to content

KWin/KConfigXT: Difference between revisions

From KDE Community Wiki
Jaitrum (talk | contribs)
No edit summary
Jaitrum (talk | contribs)
 
(4 intermediate revisions by 2 users not shown)
Line 22: Line 22:
! Claimed By
! Claimed By


{{FeatureProjectInProgress |Windows||[email protected]|alexanderjones}}
{{FeatureProjectDone |Windows|[https://git.reviewboard.kde.org/r/108347/ 108347]|[email protected]|alexanderjones}}
{{FeatureProjectInProgress |ElectricBorders||[email protected]|alexanderjones}}
{{FeatureProjectDone |ElectricBorders|[https://git.reviewboard.kde.org/r/108347/ 108347]|[email protected]|alexanderjones}}
{{FeatureProjectInProgress |MouseBindings||[email protected]|alexanderjones}}
{{FeatureProjectDone |MouseBindings|[https://git.reviewboard.kde.org/r/108347/ 108347]|[email protected]|alexanderjones}}
{{FeatureProjectInProgress |Compositing||[email protected]|alexanderjones}}
{{FeatureProjectDone |Compositing|[https://git.reviewboard.kde.org/r/108347/ 108347]|[email protected]|alexanderjones}}
{{FeatureProjectInProgress |TabBox||[email protected]|aitormorant}}
{{FeatureProjectDone |TabBox|[http://git.reviewboard.kde.org/r/108345/ 108345]|[email protected]|aitormorant}}
{{FeatureProjectInProgress |TabBoxAlternative||[email protected]|aitormorant}}
{{FeatureProjectDone |TabBoxAlternative|[http://git.reviewboard.kde.org/r/108345/ 108345]|[email protected]|aitormorant}}
{{FeatureProjectInProgress |Desktops||[email protected]|aitormorant}}
{{FeatureProjectDone |Desktops|[http://git.reviewboard.kde.org/r/108345/ 108345]|[email protected]|aitormorant}}
|}
|}

Latest revision as of 11:52, 31 January 2013

For some background information about KConfigXT in general, please have a look at the previous project KWin/KConfigXT_Effects.

In this project the task is just to create the XML markup for one group in the configuration. The groups are listed below. If you want to work on it, please claim it by adding yourself to the contact information.

Most of the configuration values can be found in the source file options.cpp in the sections "loadConfig()" and "reloadCompositingSettings". Settings are normally read for a group. The groups can be recognized by a call like

config = KConfigGroup(_config, "MouseBindings")

The name of the configuration key is always the first parameter to a "readConfig" call and the default is the second parameter. Some default values are hardcoded in the call, but most are provided through a defaultFoo method which provides the default value. All those methods are implemented in the source file options.h. The configuration for the two TabBox groups can be found in tabbox/tabbox.cpp in section "reconfigure" and "loadConfig". The configuration for Desktops is in virtualdesktops.cpp section "load".

If possible provide the new XML as an update to the existing kcfg file on review board. But links to paste services or similar are also totally fine.

Groups

Status Group Review Board Claimed By
DONE Windows 108347 <[email protected]>
DONE ElectricBorders 108347 <[email protected]>
DONE MouseBindings 108347 <[email protected]>
DONE Compositing 108347 <[email protected]>
DONE TabBox 108345 <[email protected]>
DONE TabBoxAlternative 108345 <[email protected]>
DONE Desktops 108345 <[email protected]>