summaryrefslogtreecommitdiffstats
path: root/src/pagedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pagedef.h')
-rw-r--r--src/pagedef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pagedef.h b/src/pagedef.h
index b0c24d4..136a997 100644
--- a/src/pagedef.h
+++ b/src/pagedef.h
@@ -52,6 +52,7 @@ class PageDef : public Definition
bool hasParentPage() const;
void setPageScope(Definition *d){ m_pageScope = d; }
Definition *getPageScope() const { return m_pageScope; }
+ QCString displayName() const { return !m_title.isEmpty() ? m_title : Definition::name(); }
private:
void setNestingLevel(int l);