diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2006-10-17 18:03:21 (GMT) |
commit | 8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5 (patch) | |
tree | 54faf2b759aca5cdc6184168aa676ed669435766 /src/memberdef.cpp | |
parent | ca720513ae89ad82fd8d8c4340271375ae1e9f64 (diff) | |
download | Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.zip Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.gz Doxygen-8a6cb1baa8edce0b56a07e97bd57f5d5dd756cb5.tar.bz2 |
Release-1.5.0
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 8 |
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("- "); |