D21326: Make limtedrowcountproxymodel usable from QML

2019-06-12 Thread David Edmundson
davidedmundson abandoned this revision. davidedmundson added a comment. Discover has a pagniation model which if you only use the first page covers this case. Lets try and get that one in frameworks instead REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org

D21326: Make limtedrowcountproxymodel usable from QML

2019-05-23 Thread Kai Uwe Broulik
broulik added a comment. Before moving to frameworks also needs d-pointer INLINE COMMENTS > limitedrowcountproxymodel_p.h:47 > + * > + * The default value is 0 > + */ Should we use `-1` as the default instead and have 0 actually mean limit of zero items = empty? > limitedrowcou

D21326: Make limtedrowcountproxymodel usable from QML

2019-05-21 Thread David Edmundson
davidedmundson updated this revision to Diff 58451. davidedmundson added a comment. update REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D21326?vs=58442&id=58451 BRANCH Plasma/5.16 REVISION DETAIL https://phabricator.kde.org/D21326 AFFECTED

D21326: Make limtedrowcountproxymodel usable from QML

2019-05-21 Thread Aleix Pol Gonzalez
apol added inline comments. INLINE COMMENTS > limitedrowcountproxymodel.cpp:37 > { > if (this->sourceModel()) { > disconnect(this->sourceModel(), nullptr, this, nullptr); it could make sense to check if it's different to the current one. REPOSITORY R120 Plasma Workspace REVISI

D21326: Make limtedrowcountproxymodel usable from QML

2019-05-21 Thread David Edmundson
davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. davidedmundson requested review of this revision. REVISION SUMMARY For intended moving into KItemModels REPOSITORY R120 Plasma Workspace BRA