From 64b0f5be361958fec2bb0eba48914773a7d525ad Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Wed, 10 Feb 2010 13:06:53 +1000 Subject: Revert "Remove unimplemented methods from header" This reverts commit e712ecee850e04084643243a096befbf47e4e8b9. --- src/declarative/qml/qmlmetatype.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/declarative/qml/qmlmetatype.h b/src/declarative/qml/qmlmetatype.h index 6dccc7a..e0c65c5 100644 --- a/src/declarative/qml/qmlmetatype.h +++ b/src/declarative/qml/qmlmetatype.h @@ -86,6 +86,7 @@ public: static int listType(int); static bool clear(const QVariant &); static bool append(const QVariant &, const QVariant &); + static QVariant fromObject(QObject *, int type); static const QMetaObject *rawMetaObjectForType(int); static const QMetaObject *metaObjectForType(int); static int attachedPropertiesFuncId(const QMetaObject *); @@ -141,6 +142,7 @@ public: const QMetaObject *attachedPropertiesType() const; int parserStatusCast() const; + QVariant fromObject(QObject *) const; const char *interfaceIId() const; int propertyValueSourceCast() const; int propertyValueInterceptorCast() const; -- cgit v0.12