summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 630b6ff..f9637e2 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1568,10 +1568,11 @@ bool MemberDef::isDetailedSectionLinkable() const
(m_impl->mtype==EnumValue && !briefDescription().isEmpty()) ||
// has brief description that is part of the detailed description
(!briefDescription().isEmpty() && // has brief docs
- (alwaysDetailedSec && // they or visible in
- repeatBrief || // detailed section or
- !briefMemberDesc // they are explicitly not
- ) // shown in brief section
+ (alwaysDetailedSec && // they are visible in
+ (repeatBrief || // detailed section or
+ !briefMemberDesc // they are explicitly not
+ ) // shown in brief section
+ )
) ||
// has a multi-line initialization block
//(initLines>0 && initLines<maxInitLines) ||
@@ -3045,6 +3046,13 @@ bool MemberDef::isObjCMethod() const
return FALSE;
}
+bool MemberDef::isObjCProperty() const
+{
+ makeResident();
+ if (m_impl->classDef && m_impl->classDef->isObjectiveC() && isProperty()) return TRUE;
+ return FALSE;
+}
+
QCString MemberDef::qualifiedName() const
{
makeResident();