<table><tr><td style="">davidedmundson updated this revision to Diff 71329.<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>Implement new arguments for filterAcceptsRow passing source_row, source_parent.</p>
<p>It makes for slightly heavier messier JS, but it also allows for super flexibility <br />
beyond just having the value retried and it's familiar for Qt programmers.</p>
<p>Maybe we should add an invokable<br />
sourceData(int source_row, int source_column, QModelIndex source_parent) to save a<br />
bit of boilerplate?</p></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=71327&id=71329">https://phabricator.kde.org/D25326?vs=71327&id=71329</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 />
autotests/ksortfilterproxymodeltest.qml<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>