summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/tst_moc.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-07-25 16:34:03 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-07-26 22:14:42 +0000
commit89f784757e81c7df540ce757eccb8af4da1c8e22 (patch)
treeeb3bae993eb779bff683109ff44ab077f94a2427 /tests/auto/tools/moc/tst_moc.cpp
parent056fbf03a54b2e3ee20f8d677649e407e50cc018 (diff)
Improve output of Q_ENUM
When we have the named keys and not just integer values, we can output something unambiously that closer match how the enums should be used. Output of enums without proper metadata is left unchanged Before: QSurfaceFormat::ColorSpace(DefaultColorSpace) QPainter::CompositionMode(3) After: QSurfaceFormat::DefaultColorSpace QPainter::CompositionMode(3) Change-Id: I537e879ba8b5c555b2aae9ba831facc88d430443 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/tools/moc/tst_moc.cpp')
0 files changed, 0 insertions, 0 deletions