summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-02-04 15:33:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-02-04 15:33:47 (GMT)
commita9a600c4692a1d0b0a6a09362db1d6da8bda9a30 (patch)
tree2d45018d20008480ccea03a78fa6fc37908676d9 /src/memberdef.cpp
parent0165662ac50544cad138573c42097999327b84bc (diff)
downloadDoxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.zip
Doxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.tar.gz
Doxygen-a9a600c4692a1d0b0a6a09362db1d6da8bda9a30.tar.bz2
Release-1.4.6-20060202
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 2f40015..6d2761c 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -79,7 +79,7 @@ static QCString addTemplateNames(const QCString &s,const QCString &n,const QCStr
static bool writeDefArgumentList(OutputList &ol,ClassDef *cd,
const QCString & /*scopeName*/,MemberDef *md)
{
- ArgumentList *defArgList=md->isDocsForDefinition() ?
+ ArgumentList *defArgList=(md->isDocsForDefinition() && !md->isProperty()) ?
md->argumentList() : md->declArgumentList();
//printf("writeDefArgumentList `%s' isDocsForDefinition()=%d\n",md->name().data(),md->isDocsForDefinition());
if (defArgList==0)
@@ -1150,6 +1150,25 @@ void MemberDef::writeDeclaration(OutputList &ol,
ol.endTypewriter();
}
+ if (isProperty())
+ {
+ ol.writeLatexSpacing();
+ ol.startTypewriter();
+ ol.docify(" [");
+ QStrList sl;
+ if (isGettable()) sl.append("get");
+ if (isSettable()) sl.append("set");
+ const char *s=sl.first();
+ while (s)
+ {
+ ol.docify(s);
+ s=sl.next();
+ if (s) ol.docify(", ");
+ }
+ ol.docify("]");
+ ol.endTypewriter();
+ }
+
if (!detailsVisible && !annMemb)
{
ol.endDoxyAnchor(cfname,anchor());