summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index e93b3fd..0133be1 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -61,6 +61,20 @@ QCString PageDef::getOutputFileBase() const
return m_fileName;
}
+void PageDef::setFileName(const char *name)
+{
+ static bool shortNames = Config_getBool("SHORT_NAMES");
+ if (shortNames)
+ {
+ m_fileName = convertNameToFile(name);
+ }
+ else
+ {
+ m_fileName = name;
+ }
+}
+
+
void PageDef::addInnerCompound(Definition *def)
{
if (def->definitionType()==Definition::TypePage)