<table><tr><td style="">z3ntu created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />z3ntu requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28773">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>lockAutoRotate(true) would enable the automatic rotation and<br />
lockAutoRotate(false) would disable auto rotation which is the opposite<br />
of what the function name would imply, so rename it to setAutoRotate.</p>

<p>We also need a getter for the value to display the status in the UI.<br />
This getter checks if all applicable outputs have auto rotate enabled<br />
and returns that value.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>tested on Plasma Mobile</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R104 KScreen</div></div></div><br /><div><strong>BRANCH</strong><div><div>autorotate</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28773">https://phabricator.kde.org/D28773</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kded/config.cpp<br />
kded/config.h<br />
kded/daemon.cpp<br />
kded/daemon.h<br />
kded/org.kde.KScreen.xml</div></div></div><br /><div><strong>To: </strong>z3ntu<br /><strong>Cc: </strong>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<br /></div>