summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/codeparser.h
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-04-29 11:49:43 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-04-29 11:49:43 (GMT)
commit04925d40d960a394345f83ef51cce7b547431b92 (patch)
treedd0acdf9524026f29a3c88731d93c8fdc6b83744 /tools/qdoc3/codeparser.h
parent229251d0bc0024b78a8c0669a09836289c02a7cd (diff)
downloadQt-04925d40d960a394345f83ef51cce7b547431b92.zip
Qt-04925d40d960a394345f83ef51cce7b547431b92.tar.gz
Qt-04925d40d960a394345f83ef51cce7b547431b92.tar.bz2
qdoc: Added breadcrumbs to examples. Coolio.
Doesn't work in a few cases because of non-standard naming of things.
Diffstat (limited to 'tools/qdoc3/codeparser.h')
-rw-r--r--tools/qdoc3/codeparser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qdoc3/codeparser.h b/tools/qdoc3/codeparser.h
index 7b0d0eb..ebba601 100644
--- a/tools/qdoc3/codeparser.h
+++ b/tools/qdoc3/codeparser.h
@@ -78,6 +78,7 @@ class CodeParser
static void initialize(const Config& config);
static void terminate();
static CodeParser *parserForLanguage(const QString& language);
+ static const QString titleFromName(const QString& name);
protected:
QSet<QString> commonMetaCommands();
@@ -88,6 +89,7 @@ class CodeParser
private:
static QList<CodeParser *> parsers;
static bool showInternal;
+ static QMap<QString,QString> nameToTitle;
};
QT_END_NAMESPACE