<table><tr><td style="">tcanabrava added a comment.
</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/D26133">View Revision</a></tr></table><br /><div><div><p>I agree with the comments, but I'm a bit lost on how to implement that in KCoreConfigSkeleton:<br />
the isSaveNeeded reads the value of the variable and return if it's different from the reference variable. (that I tougth it was a reference *value*, to find out that it's a *variable reference*.<br />
so, if I change my setting via:</p>
<p>Setting::self()->setSomething(5)</p>
<p>the code for this setSomething will not call any KCoreConfigSkeleton code, but will just do a:</p>
<p>GeneratedConfig::setSomething(int value) {</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">mSomething = value;</pre></div>
<p>}</p>
<p>this is then handled internally on the KCoreSkeletonItem but I don't really understand how.<br />
anyone has a hint on how I can trigger a signal on it?<br />
I'm a bit lost.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R237 KConfig</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26133">https://phabricator.kde.org/D26133</a></div></div><br /><div><strong>To: </strong>tcanabrava, ervin<br /><strong>Cc: </strong>ervin, GB_2, apol, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>