summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qparameterizableobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/declarativemaps/qparameterizableobject_p.h')
-rw-r--r--src/location/declarativemaps/qparameterizableobject_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qparameterizableobject_p.h b/src/location/declarativemaps/qparameterizableobject_p.h
index e450c6ec..cf393aee 100644
--- a/src/location/declarativemaps/qparameterizableobject_p.h
+++ b/src/location/declarativemaps/qparameterizableobject_p.h
@@ -58,6 +58,7 @@ class QGeoMapParameter;
class Q_LOCATION_PRIVATE_EXPORT QParameterizableObject : public QObject
{
Q_OBJECT
+ Q_PROPERTY(QObject *parent READ parent NOTIFY parentChanged DESIGNABLE false FINAL)
Q_PROPERTY(QQmlListProperty<QObject> quickChildren READ declarativeChildren DESIGNABLE false)
Q_CLASSINFO("DefaultProperty", "quickChildren")
@@ -76,6 +77,9 @@ public:
return res;
}
+Q_SIGNALS:
+ void parentChanged();
+
protected:
virtual void appendChild(QObject *v);
virtual void clearChildren();