summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-10-17 18:03:21 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-10-17 18:03:21 (GMT)
commit65f47e04daaf7f06da11c64af364e65e60e66387 (patch)
tree54faf2b759aca5cdc6184168aa676ed669435766 /src/memberdef.cpp
parent3c8148441a129febc5c2b9e4b2b2cbd018ad3b6e (diff)
downloadDoxygen-65f47e04daaf7f06da11c64af364e65e60e66387.zip
Doxygen-65f47e04daaf7f06da11c64af364e65e60e66387.tar.gz
Doxygen-65f47e04daaf7f06da11c64af364e65e60e66387.tar.bz2
Release-1.5.0
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 976fdc8..a450ba3 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -963,12 +963,14 @@ void MemberDef::setDefinitionTemplateParameterLists(QList<ArgumentList> *lists)
void MemberDef::writeLink(OutputList &ol,ClassDef *,NamespaceDef *,
FileDef *fd,GroupDef *gd,bool onlyText)
{
+ static bool optimizeOutputJava = Config_getBool("OPTIMIZE_OUTPUT_JAVA");
+ static bool hideScopeNames = Config_getBool("HIDE_SCOPE_NAMES");
makeResident();
LockingPtr<MemberDef> lock(this,this);
- QCString sep = Config_getBool("OPTIMIZE_OUTPUT_JAVA") ? "." : "::";
+ QCString sep = optimizeOutputJava ? "." : "::";
QCString n = name();
- if (m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep);
- else if (m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep);
+ if (!hideScopeNames && m_impl->classDef && gd) n.prepend(m_impl->classDef->name()+sep);
+ else if (!hideScopeNames && m_impl->nspace && (gd || fd)) n.prepend(m_impl->nspace->name()+sep);
if (isObjCMethod())
{
if (isStatic()) ol.docify("+ "); else ol.docify("- ");