feat: add Control API for auto rotation
ClosedPublic

Authored by romangg on Dec 15 2019, 11:55 PM.

Details

Summary

With this API the current user preference for auto rotation a particular output
on global level and for the current configuration can be queried and set.

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 15 2019, 11:55 PM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 15 2019, 11:55 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Dec 15 2019, 11:55 PM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 25 2019, 3:16 PM
This revision was automatically updated to reflect the committed changes.
volkov added a subscriber: volkov.Oct 1 2021, 11:07 AM
volkov added inline comments.
common/control.cpp
266

Why treat an inconvertible value as true and not false?