davidedmundson created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. davidedmundson requested review of this revision.
REVISION SUMMARY In QML a lot of code is built up on list models. One thing I found is a model of integers that goes N...M, especially for use in Tumblers and Repeaters. I've needed it on more than 2 occasions so tidied it up for frameworks. TEST PLAN Unit test REPOSITORY R275 KItemModels BRANCH master REVISION DETAIL https://phabricator.kde.org/D13358 AFFECTED FILES autotests/CMakeLists.txt autotests/knumbermodeltest.cpp src/CMakeLists.txt src/knumbermodel.cpp src/knumbermodel.h To: davidedmundson Cc: kde-frameworks-devel, michaelh, ngraham, bruns