summaryrefslogtreecommitdiffstats
path: root/src/webengine/ui_delegates_manager.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-06-30 12:13:16 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-08-01 15:33:06 +0200
commit3ef45d0329858a60a8b96363fcf9d7fe9b6d8311 (patch)
tree4ecaca279efcd9c99edcd52fdd9bcdf3831e9c59 /src/webengine/ui_delegates_manager.h
parent04f58ffc1904bef7ba788b56ed098a7823017e65 (diff)
Don't use the private QQmlMetaType::defaultProperty
Duplicate the small implementation of that function, which uses QMetaObject public API together with the semi-public fact that the meta class info named DefaultProperty needs to be fetched. Change-Id: I37413bd28a0b0ead55853e4e3db5864dfc39966b Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'src/webengine/ui_delegates_manager.h')
-rw-r--r--src/webengine/ui_delegates_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webengine/ui_delegates_manager.h b/src/webengine/ui_delegates_manager.h
index 125cacff4..6f8d8b097 100644
--- a/src/webengine/ui_delegates_manager.h
+++ b/src/webengine/ui_delegates_manager.h
@@ -75,6 +75,7 @@ class QQmlContext;
class QQuickWebEngineView;
QT_END_NAMESPACE
+const char *defaultPropertyName(QObject *obj);
class MenuItemHandler : public QObject {
Q_OBJECT