qt5base-lts/tests/auto/gui
Marc Mutz 46351b4e60 QColor: port to QStringView
... leveraging the existing support for QLatin1String, which is the
char equivalent of QStringView.

The only noteworthy changes here are the port of the low-level
functions to size_t and that the internal template function,
setColorFromString(), can now take its argument by value, since only
views are ever passed to it anymore.

In the test, used new QTest::addRow() to format test names, and
introduced temporaries to avoid re-calculating the same input values
for every check.

Change-Id: Ia3c59e5c435ff753f34993a8d85c0c0b4e8e2b22
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-03-29 12:29:52 +00:00
..
image Merge remote-tracking branch 'origin/5.9' into dev 2017-03-20 09:00:44 +01:00
itemmodels QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
kernel QCursor: Add equality operators 2017-03-21 17:22:41 +00:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting QColor: port to QStringView 2017-03-29 12:29:52 +00:00
qopengl Add support for OpenGL 3.2+ core profile contexts in QPainter 2017-01-23 11:34:05 +00:00
qopenglconfig Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-25 16:12:11 +02:00
qvulkan Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
text Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00
util Fix test for WinRT 2016-09-23 07:20:53 +00:00
gui.pro Basic Vulkan enablers 2017-03-17 16:12:03 +00:00