forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user