aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h
index 9e3309ee35..35c909192b 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorcontextobject.h
@@ -78,7 +78,7 @@ public:
QQmlPropertyMap* backendValues() const { return m_backendValues; }
- Q_INVOKABLE QString convertColorToString(const QColor &color);
+ Q_INVOKABLE QString convertColorToString(const QVariant &color);
Q_INVOKABLE QColor colorFromString(const QString &colorString);
Q_INVOKABLE QString translateFunction();
@@ -94,6 +94,8 @@ public:
Q_INVOKABLE QStringList styleNamesForFamily(const QString &family);
+ Q_INVOKABLE QStringList allStatesForId(const QString &id);
+
int majorVersion() const;
int majorQtQuickVersion() const;
int minorQtQuickVersion() const;