diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-08 18:36:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-02-08 18:36:07 (GMT) |
commit | 19119105076ca1b361b11b49df61050879c1e054 (patch) | |
tree | 918babf3afc522698cc5ff63bd28ff5f8897964a /src/classdef.cpp | |
parent | ea50604595d368f3b9a63a3dbfe55d984986abb0 (diff) | |
download | Doxygen-19119105076ca1b361b11b49df61050879c1e054.zip Doxygen-19119105076ca1b361b11b49df61050879c1e054.tar.gz Doxygen-19119105076ca1b361b11b49df61050879c1e054.tar.bz2 |
mods for doxygen-1.0.0
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index 5e5e4c3..b6b453a 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -262,7 +262,14 @@ void ClassDef::writeDocumentation(OutputList &ol) if (incFile) { QCString nm=incName.copy(); - if (incName.isEmpty()) nm=incFile->name(); + if (incName.isEmpty()) + { + nm=incFile->name(); + if (Config::fullPathNameFlag) + { + nm.prepend(stripFromPath(incFile->getPath().copy())); + } + } ol.startTypewriter(); ol.docify("#include <"); ol.disable(OutputGenerator::Html); @@ -837,7 +844,14 @@ void ClassDef::writeIncludeFile(OutputList &ol) startFile(ol,fileName+"-include",name()+" Include File"); startTitle(ol,0); QCString n=incName.copy(); - if (incName.isEmpty()) n=incFile->name(); + if (incName.isEmpty()) + { + n=incFile->name(); + if (Config::fullPathNameFlag) + { + n.prepend(stripFromPath(incFile->getPath().copy())); + } + } parseText(ol,n); endTitle(ol,0,0); parseText(ol,theTranslator->trVerbatimText(incFile->name())); |