summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp18
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()));