aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljsscope_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-29 14:52:49 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-29 15:31:54 +0200
commitaf7aae4da57fc35c444ce82e682638d837eb582c (patch)
tree721301ef44cb5e9f1d281ab8200b74a57b25b01c /src/qmlcompiler/qqmljsscope_p.h
parentb2ee7364be2f11dc16b80a85141cfdd54e801b10 (diff)
QQmlJSScope: Rename parentPropertyName and defaultPropertyName
The parent and default properties also hold for subclasses, but the names exposed here are only the own properties. Make this visible. Change-Id: I6d3e2a278b5e0e29fee6d257f2f68eb3acd50dea Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r--src/qmlcompiler/qqmljsscope_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h
index 3822cd9c32..216e236f24 100644
--- a/src/qmlcompiler/qqmljsscope_p.h
+++ b/src/qmlcompiler/qqmljsscope_p.h
@@ -254,11 +254,11 @@ public:
bool isResolved() const;
bool isFullyResolved() const;
- QString defaultPropertyName() const { return m_defaultPropertyName; }
- void setDefaultPropertyName(const QString &name) { m_defaultPropertyName = name; }
+ QString ownDefaultPropertyName() const { return m_defaultPropertyName; }
+ void setOwnDefaultPropertyName(const QString &name) { m_defaultPropertyName = name; }
- QString parentPropertyName() const { return m_parentPropertyName; }
- void setParentPropertyName(const QString &name) { m_parentPropertyName = name; }
+ QString ownParentPropertyName() const { return m_parentPropertyName; }
+ void setOwnParentPropertyName(const QString &name) { m_parentPropertyName = name; }
QString ownAttachedTypeName() const { return m_attachedTypeName; }
void setOwnAttachedTypeName(const QString &name) { m_attachedTypeName = name; }