diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-05-30 13:45:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-01 09:35:53 +0200 |
commit | 6d9220bae5ba1008ecd569d182101a9edf9eade5 (patch) | |
tree | c0c5bd955484399132b97a358ff731f8f7fd7b0c /src/qml/qml/qqmlproperty.cpp | |
parent | d38f4cea6b4255e9b4e59212ebfecb50c4a1ba4b (diff) |
Remove dead code
Change-Id: If93723e48e1088d1e0664b315058803e2f61bdab
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r-- | src/qml/qml/qqmlproperty.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp index 7e021d4ba9..5450fda364 100644 --- a/src/qml/qml/qqmlproperty.cpp +++ b/src/qml/qml/qqmlproperty.cpp @@ -1875,34 +1875,6 @@ QMetaMethod QQmlPropertyPrivate::findSignalByName(const QMetaObject *mo, const Q return QMetaMethod(); } -static inline int QMetaObject_methods(const QMetaObject *metaObject) -{ - struct Private - { - int revision; - int className; - int classInfoCount, classInfoData; - int methodCount, methodData; - int propertyCount, propertyData; - }; - - return reinterpret_cast<const Private *>(metaObject->d.data)->methodCount; -} - -static inline int QMetaObject_properties(const QMetaObject *metaObject) -{ - struct Private - { - int revision; - int className; - int classInfoCount, classInfoData; - int methodCount, methodData; - int propertyCount, propertyData; - }; - - return reinterpret_cast<const Private *>(metaObject->d.data)->propertyCount; -} - static inline void flush_vme_signal(const QObject *object, int index) { QQmlData *data = static_cast<QQmlData *>(QObjectPrivate::get(const_cast<QObject *>(object))->declarativeData); |