diff options
author | hjk <hjk@qt.io> | 2018-09-07 13:29:45 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-10-02 08:32:51 +0000 |
commit | 1c9410e353337052bb141cbe4f519012545d735d (patch) | |
tree | ca63b9174a8e8bdf0c6ee9aa26ae27454900a24e /src/plugins/projectexplorer/projectconfiguration.h | |
parent | 2f6c6b632c25f3d9adc79b8e971129cc2ee7c3ee (diff) |
ProjectExplorer: Rename 'extraAspect' to 'aspect'
Using aspects is the standard pattern nowadays, there's nothing 'extra'
to them anymore.
Change-Id: I446f9d7b1db58a4899e5e44df33ce51f655e7be4
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectconfiguration.h')
-rw-r--r-- | src/plugins/projectexplorer/projectconfiguration.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/projectconfiguration.h b/src/plugins/projectexplorer/projectconfiguration.h index 9e72ce0cb8..492f19467c 100644 --- a/src/plugins/projectexplorer/projectconfiguration.h +++ b/src/plugins/projectexplorer/projectconfiguration.h @@ -126,9 +126,9 @@ public: const QList<ProjectConfigurationAspect *> aspects() const { return m_aspects; } - ProjectConfigurationAspect *extraAspect(Core::Id id) const; + ProjectConfigurationAspect *aspect(Core::Id id) const; - template <typename T> T *extraAspect() const + template <typename T> T *aspect() const { for (ProjectConfigurationAspect *aspect : m_aspects) if (T *result = qobject_cast<T *>(aspect)) |