<div>davidedmundson added a comment.</div><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>How can I simulate the KAuthorized stuff for an autotest? Is there a KConfig kdeglobals test mode or something like that?</p></blockquote>

<p>You don't need it in kdeglobals.<br />
See what I did in <a href="https://git.reviewboard.kde.org/r/127948/" class="remarkup-link" target="_blank" rel="noreferrer">https://git.reviewboard.kde.org/r/127948/</a></p>

<p>Note that if you have it immutable in /etc/kde5rc that will block the writeEntry. I lost half an hour trying to figure that one out.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAINTEGRATION Integration for Qt applications in Plasma</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1644" rel="noreferrer">https://phabricator.kde.org/D1644</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, mart<br /><strong>Cc: </strong>davidedmundson, plasma-devel, sebas<br /></div>