z3ntu created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
z3ntu requested review of this revision.

REVISION SUMMARY
  lockAutoRotate(true) would enable the automatic rotation and
  lockAutoRotate(false) would disable auto rotation which is the opposite
  of what the function name would imply, so rename it to setAutoRotate.
  
  We also need a getter for the value to display the status in the UI.
  This getter checks if all applicable outputs have auto rotate enabled
  and returns that value.

TEST PLAN
  tested on Plasma Mobile

REPOSITORY
  R104 KScreen

BRANCH
  autorotate

REVISION DETAIL
  https://phabricator.kde.org/D28773

AFFECTED FILES
  kded/config.cpp
  kded/config.h
  kded/daemon.cpp
  kded/daemon.h
  kded/org.kde.KScreen.xml

To: z3ntu
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart

Reply via email to