romangg created this revision. romangg added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. romangg requested review of this revision.
REVISION SUMMARY Kcm and daemon can only communicate a limited data set through the backend. This feature patch adds an additional level of control by providing a one-way control channel through output and configuration control files. The first property to be controlled through this channel is the output retention. Other information shared in the future might be if a certain resolution or refresh rate was manually set by the user or is the result of an algorithm, so that the daemon on next startup can decide to recompute the optimal value. TEST PLAN Autotests updated, such that they are controled for now to only use indvidual retention. REPOSITORY R104 KScreen BRANCH 0controlRetention REVISION DETAIL https://phabricator.kde.org/D16992 AFFECTED FILES kded/CMakeLists.txt kded/config.cpp kded/control.cpp kded/control.h kded/output.cpp kded/output.h tests/kded/CMakeLists.txt tests/kded/configtest.cpp tests/kded/serializerdata/control/configs/229fa9e8a378cb151d7302df42666774 tests/kded/serializerdata/control/configs/8684e883209d7644eb76feea2081c431 tests/kded/serializerdata/control/configs/e919cc0dd7aea8d8f519bdf8b93a6f69 To: romangg, #plasma Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart