[effects] Use arg="true" in the kcfg files
ClosedPublic

Authored by graesslin on Dec 2 2016, 7:30 PM.

Details

Summary

By changing all kcfg to have arg="true" we can pass in the same
KSharedConfigPtr into all effects. This allows to have fake config in
the tests and in the planned effect demo mode.

Also it means that we don't have to hardcode the name kwinrc into the
files. In the configs - where we cannot access the effectshandler - we
use the define KWIN_CONFIG which gets generated based on the compile
time arguments.

Diff Detail

Repository
R108 KWin
Branch
effects-singleton-arg
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin updated this revision to Diff 8703.Dec 2 2016, 7:30 PM
graesslin retitled this revision from to [effects] Use arg="true" in the kcfg files.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma.
Restricted Application added a project: KWin. · View Herald TranscriptDec 2 2016, 7:30 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Jan 24 2017, 9:53 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Jan 24 2017, 9:53 PM
This revision was automatically updated to reflect the committed changes.