diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-11 19:22:39 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-06-11 19:22:39 (GMT) |
commit | 93737357fcce05f46d2db771293d746ea4b79acc (patch) | |
tree | a213e1477917c43abbeeac764fe4d2846e726728 /src/dot.cpp | |
parent | 4bdaaa8da9bee65b5cda2e60a55f95d948feba88 (diff) | |
download | Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.zip Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.tar.gz Doxygen-93737357fcce05f46d2db771293d746ea4b79acc.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 |