feat: add Control file watcher
ClosedPublic

Authored by romangg on Dec 16 2019, 12:09 AM.

Details

Reviewers
None
Group Reviewers
Plasma
Commits
R104:ee2f99d98b47: feat: add Control file watcher
Summary

A simple QFileSystemWatcher is added to Control objects that can be activated
on demand.

On change the Control::changed signal is emitted.

Test Plan

Compiles.

Diff Detail

Repository
R104 KScreen
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Dec 16 2019, 12:09 AM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 16 2019, 12:09 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Dec 16 2019, 12:09 AM
romangg updated this revision to Diff 71640.EditedDec 16 2019, 12:19 AM

Make sure we only set the file watcher once and connect output control file changes to config control file changes.

romangg updated this revision to Diff 71641.Dec 16 2019, 12:37 AM

Integrate into daemon.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 25 2019, 3:21 PM
This revision was automatically updated to reflect the committed changes.