summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-11 19:22:39 (GMT)
commit93737357fcce05f46d2db771293d746ea4b79acc (patch)
treea213e1477917c43abbeeac764fe4d2846e726728 /src/classdef.cpp
parent4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff)
downloadDoxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz
Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.bz2
Release-1.1.4-20000611
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 326592c..a4d6c33 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -114,6 +114,18 @@ ClassDef::~ClassDef()
delete memberGroupDict;
}
+QCString ClassDef::displayName() const
+{
+ if (Config::hideScopeNames)
+ {
+ return stripScope(name());
+ }
+ else
+ {
+ return name();
+ }
+}
+
// inserts a base class in the inheritance list
void ClassDef::insertBaseClass(ClassDef *cd,Protection p,
Specifier s,const char *t)
@@ -926,7 +938,7 @@ void ClassDef::writeDocumentation(OutputList &ol)
ol.endDescList();
}
ol.newParagraph();
- writeSourceRef(ol,name());
+ writeSourceDef(ol,name());
ol.endTextBlock();
}
@@ -1029,7 +1041,11 @@ void ClassDef::writeDocumentation(OutputList &ol)
ol.docify(stripFromPath(path));
}
- if (fd->isLinkable())
+ if (fd->generateSource() || (!fd->isReference() && Config::sourceBrowseFlag))
+ {
+ ol.writeObjectLink(0,fd->sourceName(),0,fd->name());
+ }
+ else if (fd->isLinkable())
{
ol.writeObjectLink(fd->getReference(),fd->getOutputFileBase(),0,
fd->name());