diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-08 18:36:07 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-02-08 18:36:07 (GMT) |
commit | 6e9c313b87a0daa86ca108e93d67fc4c9e5bec68 (patch) | |
tree | 918babf3afc522698cc5ff63bd28ff5f8897964a /src/classdef.cpp | |
parent | 5620fa248663fa5ee8b2d8a26d773df60c2a4994 (diff) | |
download | Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.zip Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.tar.gz Doxygen-6e9c313b87a0daa86ca108e93d67fc4c9e5bec68.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())); |