diff options
author | Uladzislau Paulovich <selatnick@gmail.com> | 2019-06-09 03:31:20 +0300 |
---|---|---|
committer | selatnick <selatnick@gmail.com> | 2019-06-11 10:04:29 +0000 |
commit | ab87bdf4ea400c9c3f643fcd4a0aea500be31398 (patch) | |
tree | b7645b02ee8f3b96f742612a7077f0c35c8295e5 /tests/auto | |
parent | 69cd74f25d28b0fda0db6a958dd34f8c7daab5ca (diff) |
qml | Add support for enums formatting
Change-Id: Id7e435a7c556c7fc469b9055ca772a7850e16676
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/reformatter/enum.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qml/reformatter/enum.qml b/tests/auto/qml/reformatter/enum.qml new file mode 100644 index 0000000000..769386494d --- /dev/null +++ b/tests/auto/qml/reformatter/enum.qml @@ -0,0 +1,14 @@ +import QtQuick 2.0 + +Item { + enum Test { + A, + B + } + + enum TestWithValues { + A = 11.1, + B, + C = 3 + } +} |