Make limtedrowcountproxymodel usable from QML
AbandonedPublic

Authored by davidedmundson on May 21 2019, 9:27 PM.

Details

Reviewers
None
Group Reviewers
Plasma
Summary

For intended moving into KItemModels

Diff Detail

Repository
R120 Plasma Workspace
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12036
Build 12054: arc lint + arc unit
davidedmundson created this revision.May 21 2019, 9:27 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 21 2019, 9:27 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.May 21 2019, 9:27 PM
apol added a subscriber: apol.May 21 2019, 11:23 PM
apol added inline comments.
libnotificationmanager/limitedrowcountproxymodel.cpp
37

it could make sense to check if it's different to the current one.

Before moving to frameworks also needs d-pointer

libnotificationmanager/limitedrowcountproxymodel_p.h
47

Should we use -1 as the default instead and have 0 actually mean limit of zero items = empty?

54

Move above limitChanged so the order is consistent with the setter

davidedmundson abandoned this revision.Jun 12 2019, 8:32 PM

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