diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-08-21 08:11:15 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-08-21 08:11:15 (GMT) |
commit | d71a726489094c4fc1cf94f27a6eaa9a9f56a538 (patch) | |
tree | 26df576f6822a144ec9e57d58a5e9cca717ebd7b /src/layout.cpp | |
parent | 9e5aed6d58f0e33ca942f67daa49971d885b0110 (diff) | |
download | Doxygen-d71a726489094c4fc1cf94f27a6eaa9a9f56a538.zip Doxygen-d71a726489094c4fc1cf94f27a6eaa9a9f56a538.tar.gz Doxygen-d71a726489094c4fc1cf94f27a6eaa9a9f56a538.tar.bz2 |
Release-1.7.5.1
Diffstat (limited to 'src/layout.cpp')
-rw-r--r-- | src/layout.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/layout.cpp b/src/layout.cpp index 0209036..011141b 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -895,6 +895,13 @@ class LayoutParser : public QXmlDefaultHandler theTranslator->trExamplesDescription(), "examples" }, + { "user", + LayoutNavEntry::User, + QCString(), + QCString(), + QCString(), + "user" + }, { 0, // end of list (LayoutNavEntry::Kind)0, QCString(), @@ -945,6 +952,11 @@ class LayoutParser : public QXmlDefaultHandler { intro = mapping[i].intro; } + QCString url = convertToQCString(attrib.value("url")); + if (mapping[i].kind==LayoutNavEntry::User && !url.isEmpty()) + { + baseFile=url; + } // create new item and make it the new root m_rootNav = new LayoutNavEntry(m_rootNav,kind,kind==LayoutNavEntry::MainPage?TRUE:isVisible,baseFile,title,intro); } |