aboutsummaryrefslogtreecommitdiffstats
path: root/src/testmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix QDateTime build errorMitch Curtis2020-05-181-1/+1
| | | | | | | Its constructor needs a QDate and QTime, not just a QDate. Change-Id: Id61995f84ecf7fd83645fcaac114c376001068ee Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Use math functions from std namespaceKari Oikarinen2018-01-081-1/+1
| | | | | | | | | <cmath> needs to declare the math functions in the std namespace. Optionally it can also put them in the global namespace, but for example the standard library for QNX 6.6 does not do so. Change-Id: Ie4d15d419d7a93c1c04d2b6982dba740d522740a Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
* Add TestModel for benchmarks of model property accessRobin Burchell2017-05-041-0/+142
And at the same time, introduce benchmarks for reading properties from a TestModel instance. This doesn't give us full coverage of model/view -- I'd ideally like to see row additions/removals/moves on an otherwise static ListView for instance -- but that can be done separately. Change-Id: I45e25d89eb76bbe046d7e0c2c1a23f13b6b92fab Reviewed-by: Gunnar Sletta <gunnar@crimson.no>