ahiemstra created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. ahiemstra requested review of this revision.
REVISION SUMMARY It converts a model's column headers into a simple list model. It is mainly useful as a helper to create headers for QtQuick TableView but may also be useful for other things. TEST PLAN The added test QML file shows a single 1 as described in the test. REPOSITORY R275 KItemModels BRANCH columnheadersmodel REVISION DETAIL https://phabricator.kde.org/D25311 AFFECTED FILES src/core/CMakeLists.txt src/core/kcolumnheadersproxymodel.cpp src/core/kcolumnheadersproxymodel.h src/qml/plugin.cpp tests/qml/columnheaders.qml To: ahiemstra Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns