aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsscope_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-29 15:22:50 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-30 11:23:08 +0200
commit77638d4ce7866ce2ef553cc265350bf9fe2a03bf (patch)
treeb8c1e4c94cc6f26b7de53a1066ed48d9be165bd0 /src/qmlcompiler/qqmljsscope_p.h
parente67b6c3ab9b3fe32dbc248b7349247a329736d66 (diff)
QmlCompiler: Add methods to get effective default|parent property
We need to traverse the base type hierarchy for this. Use those methods where we previously did half-baked attempts to do so. Change-Id: I8ed86401055ec1d75067c2bf2d5362c9d309c43a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r--src/qmlcompiler/qqmljsscope_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h
index 216e236f24..d2b7365ac5 100644
--- a/src/qmlcompiler/qqmljsscope_p.h
+++ b/src/qmlcompiler/qqmljsscope_p.h
@@ -256,9 +256,11 @@ public:
QString ownDefaultPropertyName() const { return m_defaultPropertyName; }
void setOwnDefaultPropertyName(const QString &name) { m_defaultPropertyName = name; }
+ QString defaultPropertyName() const;
QString ownParentPropertyName() const { return m_parentPropertyName; }
void setOwnParentPropertyName(const QString &name) { m_parentPropertyName = name; }
+ QString parentPropertyName() const;
QString ownAttachedTypeName() const { return m_attachedTypeName; }
void setOwnAttachedTypeName(const QString &name) { m_attachedTypeName = name; }