diff options
Diffstat (limited to 'src/context.cpp')
-rw-r--r-- | src/context.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp index 68e1167..8f9200e 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -1739,6 +1739,7 @@ class ClassContext::Private : public DefinitionContext<ClassContext::Private> addProperty("allMembersFileName", this,&Private::allMembersFileName); addProperty("memberGroups", this,&Private::memberGroups); addProperty("additionalInheritedMembers",this,&Private::additionalInheritedMembers); + addProperty("isSimple", this,&Private::isSimple); } virtual ~Private() {} TemplateVariant title() const @@ -2362,6 +2363,10 @@ class ClassContext::Private : public DefinitionContext<ClassContext::Private> } return m_cache.additionalInheritedMembers.get(); } + TemplateVariant isSimple() const + { + return m_classDef->isSimple(); + } private: ClassDef *m_classDef; @@ -5192,7 +5197,8 @@ class ClassListContext::Private : public GenericNodeListContext { continue; } - if (cd->isLinkableInProject() && cd->templateMaster()==0) + if (cd->isLinkableInProject() && cd->templateMaster()==0 && + !cd->isHidden() && !cd->isEmbeddedInOuterScope()) { append(ClassContext::alloc(cd)); } |