<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Plasma, mart.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />ngraham 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/D29711">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Many Plasma applets use <tt style="background: #ebebeb; font-size: 13px;">kcmshell.open</tt> to open the appropriate KCM. However<br />
now that we're de-emphasizing kcmshell, we want these to open in System<br />
Settings or Info Center instead.</p>

<p>We can't just change the existing function for a few reasons:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">This is a frameworks; changing functionality like that isn't nice.</li>
<li class="remarkup-list-item">The existing function takes a string list, which KCMShell supports to open multiple KCMs, but System Settings does not support this.</li>
<li class="remarkup-list-item">There's still an occasional need to open KCMs in KCMShell (e.g. from another KCM open in System Settings).</li>
<li class="remarkup-list-item">We need to distinguish between opening in System Settings and opening in Info Center</li>
</ol>

<p>Accordingly, two new functions are created: one to open a KCM in System<br />
Settings, and another to open in Info Center. Applets will be ported to<br />
use these.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Test dependent patches (see <span><span class="phui-tag-view phui-tag-type-shade phui-tag-grey phui-tag-shade "><span class="phui-tag-core ">Stack</span></span></span>)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R296 KDeclarative</div></div></div><br /><div><strong>BRANCH</strong><div><div>create-kcmshell-openSystemSettings (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29711">https://phabricator.kde.org/D29711</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/qmlcontrols/kquickcontrolsaddons/kcmshell.cpp<br />
src/qmlcontrols/kquickcontrolsaddons/kcmshell.h</div></div></div><br /><div><strong>To: </strong>ngraham, Plasma, mart<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns<br /></div>