diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-09-16 16:02:42 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-09-16 16:52:38 +0200 |
commit | a2fee4c689042f42cde5619a9f1f8a79da294fa4 (patch) | |
tree | 9fd2aea3af1a3f8139f23bba18c718bd4046fb9e /src/plugins/qmldesigner/designercore/include | |
parent | 9e58ab2ac88c9beae06b7ef371b32c8bb5a54b0b (diff) | |
download | qt-creator-a2fee4c689042f42cde5619a9f1f8a79da294fa4.tar.gz |
QmlDesigner.NodeMetainfo: adding defaultPropertyIsComponent()
This can be used to check if reparenting makes sense.
Change-Id: Ide1146841be76d8979dc452954fc6965ecdfef3d
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/designercore/include')
-rw-r--r-- | src/plugins/qmldesigner/designercore/include/nodemetainfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/designercore/include/nodemetainfo.h b/src/plugins/qmldesigner/designercore/include/nodemetainfo.h index 38a92513b8..4bac4ce831 100644 --- a/src/plugins/qmldesigner/designercore/include/nodemetainfo.h +++ b/src/plugins/qmldesigner/designercore/include/nodemetainfo.h @@ -86,6 +86,8 @@ public: QList<NodeMetaInfo> superClasses() const; NodeMetaInfo directSuperClass() const; + bool defaultPropertyIsComponent() const; + TypeName typeName() const; int majorVersion() const; int minorVersion() const; |