<table><tr><td style="">davidedmundson updated this revision to Diff 71421.<br />davidedmundson edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ptwfwxizk5sf45m/">(Show Details)</a><br />davidedmundson 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/D25326">View Revision</a></tr></table><br /><div><div><p>Huge cleanup</p>

<p>Drop all the filter properties<br />
Implement other changes<br />
Extend unit tests</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">It exposes QSFPM in a usable way from QML, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">but also exposes a way to<br />
perform JS callbacks as an advanced filter method.<br />
<br />
This is mostly a 1-1 move from plasma-frameworks, but with the following<br />
change.<br />
<br />
 - Removing a broken workaround for trying to handle Plasma's DataModel<br />
having dynamic role names.<br />
<br />
 - port to the new connect syntax<br />
<br />
 - removing the plasma namespace<br />
<br />
I don't know if we want to change the name to match the others having a</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">referring to roles by name</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">K prefix?</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and exposing a way to perform JS callbacks as an advanced filter method.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R275 KItemModels</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D25326?vs=71329&id=71421">https://phabricator.kde.org/D25326?vs=71329&id=71421</a></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25326">https://phabricator.kde.org/D25326</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/CMakeLists.txt<br />
autotests/ksortfilterproxymodel_qml.cpp<br />
src/qml/CMakeLists.txt<br />
src/qml/ksortfilterproxymodel.cpp<br />
src/qml/ksortfilterproxymodel.h<br />
src/qml/plugin.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>broulik, ahiemstra, mart, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>