summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/designercore/include
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2013-07-30 17:00:04 +0200
committerMarco Bubke <marco.bubke@digia.com>2013-07-31 16:22:38 +0200
commit282de65774e05dcb34cbe6c0ed9025eec6a45612 (patch)
tree7e68411db3a1918b6355ec585d4bbcf03a43913d /src/plugins/qmldesigner/designercore/include
parent4d3c15f87b001a3d78a8734410f3605f0540aaa6 (diff)
downloadqt-creator-282de65774e05dcb34cbe6c0ed9025eec6a45612.tar.gz
QmlDesigner: Rename hasDefaultProperty to hasDefaultPropertyName
hasDefaultProperty sounded like the property existed in the model not in the meta info system. Change-Id: Iaa670f10b9d6d6038fbc3a4224250ed821407af4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/designercore/include')
-rw-r--r--src/plugins/qmldesigner/designercore/include/qmlobjectnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h b/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
index 1c92409a77..af472e3a7c 100644
--- a/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
+++ b/src/plugins/qmldesigner/designercore/include/qmlobjectnode.h
@@ -101,7 +101,7 @@ public:
bool isAncestorOf(const QmlObjectNode &objectNode) const;
- bool hasDefaultProperty() const;
+ bool hasDefaultPropertyName() const;
PropertyName defaultPropertyName() const;
static QVariant instanceValue(const ModelNode &modelNode, const PropertyName &name);