diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-28 12:33:52 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-28 12:34:26 (GMT) |
commit | eb54435ac5717c854d6c737bca19ae23c00da045 (patch) | |
tree | 9098784822b47eb768f20b2526745a3630213d24 /tools/qdoc3/cppcodeparser.cpp | |
parent | 50576bd26cd5fb1316f0844ab6da76910d124edd (diff) | |
download | Qt-eb54435ac5717c854d6c737bca19ae23c00da045.zip Qt-eb54435ac5717c854d6c737bca19ae23c00da045.tar.gz Qt-eb54435ac5717c854d6c737bca19ae23c00da045.tar.bz2 |
Removed dead code ifdefed with QDOC2DOX
These changes were added to qdoc in the days when we thought we
might switch to doxygen. Now we have taken the approach of making
qdoc output be more doxygen-like, so this ifdefed code is now dead.
Diffstat (limited to 'tools/qdoc3/cppcodeparser.cpp')
-rw-r--r-- | tools/qdoc3/cppcodeparser.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/qdoc3/cppcodeparser.cpp b/tools/qdoc3/cppcodeparser.cpp index 1ad5843..8baef0c 100644 --- a/tools/qdoc3/cppcodeparser.cpp +++ b/tools/qdoc3/cppcodeparser.cpp @@ -589,22 +589,6 @@ Node *CppCodeParser::processTopicCommand(const Doc& doc, // ### split(" ") hack is there to support header file syntax QStringList paths = arg.split(" "); QStringList path = paths[0].split("::"); - -#if QDOC2DOX - // qdoc -> doxygen. - if (Doc::isDoxPass(1)) { - if (command == COMMAND_PROPERTY) { - Doc::insertProperty(path); - } - else if (command == COMMAND_VARIABLE) { - Doc::insertVariable(path); - } - else if (command == COMMAND_ENUM) { - // zzz - } - } -#endif - Node *node = 0; if (!usedNamespaces.isEmpty()) { foreach (const QString &usedNamespace, usedNamespaces) { @@ -1753,12 +1737,6 @@ bool CppCodeParser::matchDocsAndStuff() readToken(); Doc::trimCStyleComment(start_loc,comment); - /* - qdoc --> doxygen - We must also remember the location of the end - of the comment, so we can construct a diff for - it. - */ Location end_loc(location()); /* |