Theme: Fully qualify parameters to invokable functions

Otherwise we cannot see the types at compile time. Fixes some clazy
warnings.

Change-Id: I69fa897b52162f74ba4044933de9d08c7563aebb
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Ulf Hermann
2021-12-08 19:10:00 +01:00
parent 5f15e1f066
commit 7042b551fd

View File

@@ -467,8 +467,8 @@ public:
Q_ENUM(Gradient) Q_ENUM(Gradient)
Q_ENUM(Flag) Q_ENUM(Flag)
Q_INVOKABLE bool flag(Flag f) const; Q_INVOKABLE bool flag(Utils::Theme::Flag f) const;
Q_INVOKABLE QColor color(Color role) const; Q_INVOKABLE QColor color(Utils::Theme::Color role) const;
QString imageFile(ImageFile imageFile, const QString &fallBack) const; QString imageFile(ImageFile imageFile, const QString &fallBack) const;
QGradientStops gradient(Gradient role) const; QGradientStops gradient(Gradient role) const;
QPalette palette() const; QPalette palette() const;