Don't require QtGui for the PaginateModel test

Authored by leinir on Sep 23 2019, 12:33 PM.

Description

Don't require QtGui for the PaginateModel test

Summary:
This is done by switching from the QStandardItemModel, which requires
QtGui, to QStringListModel, which is in QtCore. The result is a much
leaner test, and it's all done by adding a couple of helper functions
which add the simplistic data addition functions from QSIM, except
locked to QStrings (the way it was being used anyway).

Test Plan: Run the tests, which still pass

Reviewers: Discover Software Store, bshah, apol

Reviewed By: Discover Software Store, apol

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D24156

Details

Committed
leinirOct 1 2019, 10:19 AM
Reviewer
Discover Software Store
Differential Revision
D24156: Don't require QtGui for the PaginateModel test
Parents
R134:ae2a1dbd8b0a: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown