summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-04-27 02:56:38 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-04-27 02:56:38 (GMT)
commitddb7c72fae2c3acb7608c5979c6b425691cc14d3 (patch)
tree7ae45c87d85e475aa0d8bfc47ba6a581a5ff9f74 /src/declarative/qml/qmlmetaproperty.h
parent7b3bb2c188234aac63435ed563085ed392068be3 (diff)
downloadQt-ddb7c72fae2c3acb7608c5979c6b425691cc14d3.zip
Qt-ddb7c72fae2c3acb7608c5979c6b425691cc14d3.tar.gz
Qt-ddb7c72fae2c3acb7608c5979c6b425691cc14d3.tar.bz2
Add some constructors without QmlContext parameter.
and mark the existing constructors internal.
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.h')
-rw-r--r--src/declarative/qml/qmlmetaproperty.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.h b/src/declarative/qml/qmlmetaproperty.h
index a2939f9..4836038 100644
--- a/src/declarative/qml/qmlmetaproperty.h
+++ b/src/declarative/qml/qmlmetaproperty.h
@@ -72,8 +72,10 @@ public:
Normal
};
QmlMetaProperty();
- QmlMetaProperty(QObject *, QmlContext * = 0);
- QmlMetaProperty(QObject *, const QString &, QmlContext * = 0);
+ QmlMetaProperty(QObject *);
+ QmlMetaProperty(QObject *, const QString &);
+ QmlMetaProperty(QObject *, QmlContext *);
+ QmlMetaProperty(QObject *, const QString &, QmlContext *);
QmlMetaProperty(const QmlMetaProperty &);
QmlMetaProperty &operator=(const QmlMetaProperty &);
QmlMetaProperty(QObject *, int, PropertyCategory = Unknown, QmlContext * = 0);
@@ -125,6 +127,8 @@ public:
int coreIndex() const;
private:
+ void initDefault(QObject *obj);
+ void initProperty(QObject *obj, const QString &name);
friend class QmlEnginePrivate;
QmlMetaPropertyPrivate *d;
};