diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-13 11:36:38 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-13 12:17:42 +0000 |
commit | d06a1e09f155cbf26f42a63edc08086cc26688d5 (patch) | |
tree | 1e892750cb5e442d9468325b38d92309b0ed6701 /src/libs/utils | |
parent | 071b1551b3b0667d9d9518fed6e5df21a3de9a9b (diff) | |
download | qt-creator-d06a1e09f155cbf26f42a63edc08086cc26688d5.tar.gz |
Theme: make relevant methods Q_INVOKABLE
Change-Id: I397d473e5414b705c3e61b4344464fb018b3f676
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/libs/utils')
-rw-r--r-- | src/libs/utils/theme/theme.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/theme/theme.h b/src/libs/utils/theme/theme.h index 0c94b4731d..1ecefbe9fd 100644 --- a/src/libs/utils/theme/theme.h +++ b/src/libs/utils/theme/theme.h @@ -327,8 +327,8 @@ public: WindowColorAsBase }; - bool flag(Flag f) const; - QColor color(Color role) const; + Q_INVOKABLE bool flag(Flag f) const; + Q_INVOKABLE QColor color(Color role) const; QString imageFile(ImageFile imageFile, const QString &fallBack) const; QGradientStops gradient(Gradient role) const; QPalette palette() const; |