aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvaluetype_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlvaluetype_p.h')
-rw-r--r--src/qml/qml/qqmlvaluetype_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlvaluetype_p.h b/src/qml/qml/qqmlvaluetype_p.h
index db2c1d5cbc..aaef422627 100644
--- a/src/qml/qml/qqmlvaluetype_p.h
+++ b/src/qml/qml/qqmlvaluetype_p.h
@@ -155,6 +155,7 @@ struct QQmlPointValueType
QML_ADDED_IN_VERSION(2, 0)
public:
+ Q_INVOKABLE QString toString() const;
int x() const;
int y() const;
void setX(int);
@@ -191,6 +192,7 @@ struct QQmlSizeValueType
QML_ADDED_IN_VERSION(2, 0)
public:
+ Q_INVOKABLE QString toString() const;
int width() const;
int height() const;
void setWidth(int);
@@ -249,6 +251,7 @@ struct QQmlRectValueType
QML_ADDED_IN_VERSION(2, 0)
public:
+ Q_INVOKABLE QString toString() const;
int x() const;
int y() const;
void setX(int);