diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-06-11 19:22:39 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-06-11 19:22:39 (GMT) |
commit | 975a88d42fb296be726c8063819327a262195bbd (patch) | |
tree | a213e1477917c43abbeeac764fe4d2846e726728 /src/dot.cpp | |
parent | 3472b3019d048213d4c6f15e17d40602b8ca6e78 (diff) | |
download | Doxygen-975a88d42fb296be726c8063819327a262195bbd.zip Doxygen-975a88d42fb296be726c8063819327a262195bbd.tar.gz Doxygen-975a88d42fb296be726c8063819327a262195bbd.tar.bz2 |
Release-1.1.4-20000611
Diffstat (limited to 'src/dot.cpp')
-rw-r--r-- | src/dot.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index 4a96987..2eaa7d5 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -654,7 +654,7 @@ void DotGfxHierarchyTable::addHierarchy(DotNode *n,ClassDef *cd,bool hideSuper) else { bn = new DotNode(m_curNodeNumber++, - bClass->name(), + bClass->displayName(), bClass->isLinkable() ? (bClass->getReference()+"$"+bClass->getOutputFileBase()).data() : 0 @@ -701,7 +701,7 @@ DotGfxHierarchyTable::DotGfxHierarchyTable() { //printf("Inserting root class %s\n",cd->name().data()); DotNode *n = new DotNode(m_curNodeNumber++, - cd->name(), + cd->displayName(), cd->isLinkable() ? (cd->getReference()+"$"+cd->getOutputFileBase()).data() : 0 @@ -805,8 +805,10 @@ void DotClassGraph::addClass(ClassDef *cd,DotNode *n,int prot, } else // new class { + QCString displayName=className.copy(); + if (Config::hideScopeNames) displayName=stripScope(displayName); bn = new DotNode(m_curNodeNumber++, - className, + displayName, cd->isLinkable() ? (cd->getReference()+"$"+cd->getOutputFileBase()).data() : 0, distance @@ -877,7 +879,7 @@ DotClassGraph::DotClassGraph(ClassDef *cd,GraphType t,int maxRecursionDepth) m_maxDistance = 0; m_recDepth = maxRecursionDepth; m_startNode = new DotNode(m_curNodeNumber++, - cd->name(), + cd->displayName(), cd->isLinkable() ? (cd->getReference()+"$"+cd->getOutputFileBase()).data() : 0, 0, // distance |