<table><tr><td style="">kossebau retitled this revision from "Let KConfigDialogManager get a property's change signal from the metaObject" to "KConfigDialogManager: get change signal from metaObject or special property".<br />kossebau updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-mcm3kvnvxln3j7g/" rel="noreferrer">(Show Details)</a>
</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/D4130" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>But this has flaws:<br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">* prevents per-widget-instance</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">* different libs & plugins might do conflicting global</span> settings<br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">* different libs & plugins might do conflicting settings</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">* prevents per-widget-instance settings (for signals)</span><br />
* requires explicit setup<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"> even for signals already set via NOTIFY on the property</span><br />
<br />
With modern Qt metaobject API instead the change signal can be<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"><br />
fetched and used automatically. And if needing a custom signal, e.g. for<br />
classes without a notify signal set on the property, that can be set via a<br />
special new dynamic property "kcfg_propertyNotify", like it is done</span><br />
<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">fetched and used automatically</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">to select a custom property for a widget instance</span>.<br />
<br />
For backward-compatibility in KF5 <span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">this</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">those</span> will be only a new option<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">s</span>,<br />
th<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">os</span>e global maps should be removed on next ABI breakage.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R265 KConfigWidgets</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4130" rel="noreferrer">https://phabricator.kde.org/D4130</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>kossebau, Frameworks<br /><strong>Cc: </strong>elvisangelaccio<br /></div>