diff options
author | Axel Spoerl <axel.spoerl@qt.io> | 2022-10-04 10:48:22 +0200 |
---|---|---|
committer | Axel Spoerl <axel.spoerl@qt.io> | 2022-10-05 09:27:08 +0200 |
commit | e4d317e36ffa95a7fd6e1b981100c88012b12833 (patch) | |
tree | 21284bc33ed887e450682ee7f24042005eeeebd7 /src/gui/kernel/qplatformtheme.h | |
parent | 369d4f4b5ea688bf9dd729a2ba35ce0292591252 (diff) |
Add Q_ENUM in QPlatformTheme enums
Not all enums defined in QPlatformTheme used the Q_ENUM macro.
This patch adds the macro where not used after an enum definition.
Change-Id: I372c8f763f5ca27a60864405ed50f51fc7a7f55c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformtheme.h')
-rw-r--r-- | src/gui/kernel/qplatformtheme.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformtheme.h b/src/gui/kernel/qplatformtheme.h index 11f57dab20..7462daa2a4 100644 --- a/src/gui/kernel/qplatformtheme.h +++ b/src/gui/kernel/qplatformtheme.h @@ -98,6 +98,7 @@ public: FontDialog, MessageDialog }; + Q_ENUM(DialogType); enum Palette { SystemPalette, @@ -120,6 +121,7 @@ public: TextLineEditPalette, NPalettes }; + Q_ENUM(Palette) enum Font { SystemFont, @@ -238,6 +240,7 @@ public: // do not add any values below/greater than this CustomBase = 0xf0000000 }; + Q_ENUM(StandardPixmap) enum KeyboardSchemes { @@ -248,6 +251,7 @@ public: GnomeKeyboardScheme, CdeKeyboardScheme }; + Q_ENUM(KeyboardSchemes) enum UiEffect { @@ -260,6 +264,7 @@ public: AnimateToolBoxUiEffect = 0x40, HoverEffect = 0x80 }; + Q_ENUM(UiEffect) enum IconOption { DontUseCustomDirectoryIcons = 0x01 |