Theme: make relevant methods Q_INVOKABLE

Change-Id: I397d473e5414b705c3e61b4344464fb018b3f676
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Ulf Hermann
2016-12-13 11:36:38 +01:00
parent 071b1551b3
commit d06a1e09f1

View File

@@ -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;