summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-19 18:01:29 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-19 18:01:29 (GMT)
commit5d2eaa50cb1a95f370d7db7413c112e85c83c66d (patch)
treec84de739d0b6a7ba0cfe741347d60764dd87bd2a /tools/qdoc3/main.cpp
parent771337bb2c286343ac912a32101fc7d418ef8a7c (diff)
downloadQt-5d2eaa50cb1a95f370d7db7413c112e85c83c66d.zip
Qt-5d2eaa50cb1a95f370d7db7413c112e85c83c66d.tar.gz
Qt-5d2eaa50cb1a95f370d7db7413c112e85c83c66d.tar.bz2
Further simplifications to qdoc3.
Removed the unused ApiGenerator class. Removed archive and uncompression support not used in Qt. Removed the unused WebXML generator used to dump documentation as XML for an ancient documentation Web project.
Diffstat (limited to 'tools/qdoc3/main.cpp')
-rw-r--r--tools/qdoc3/main.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp
index 7459e40..768c5eb 100644
--- a/tools/qdoc3/main.cpp
+++ b/tools/qdoc3/main.cpp
@@ -45,7 +45,6 @@
#include <qglobal.h>
#include <stdlib.h>
-#include "apigenerator.h"
#include "codemarker.h"
#include "codeparser.h"
#include "config.h"
@@ -54,9 +53,6 @@
#include "doc.h"
#include "htmlgenerator.h"
#include "plaincodemarker.h"
-#include "polyarchiveextractor.h"
-#include "polyuncompressor.h"
-#include "webxmlgenerator.h"
#include "ditaxmlgenerator.h"
#include "tokenizer.h"
#include "tree.h"
@@ -369,24 +365,6 @@ int main(int argc, char **argv)
#ifndef QT_BOOTSTRAPPED
QCoreApplication app(argc, argv);
#endif
- QString cf = "qsauncompress \1 \2";
- PolyArchiveExtractor qsaExtractor(QStringList() << "qsa",cf);
- cf = "tar -C \2 -xf \1";
- PolyArchiveExtractor tarExtractor(QStringList() << "tar",cf);
- cf = "tar -C \2 -Zxf \1";
- PolyArchiveExtractor tazExtractor(QStringList() << "taz",cf);
- cf = "tar -C \2 -jxf \1";
- PolyArchiveExtractor tbz2Extractor(QStringList() << "tbz" << "tbz2",cf);
- cf = "tar -C \2 -zxf \1";
- PolyArchiveExtractor tgzExtractor(QStringList() << "tgz",cf);
- cf = "unzip \1 -d \2";
- PolyArchiveExtractor zipExtractor(QStringList() << "zip",cf);
- cf = "bunzip2 -c \1 > \2";
- PolyUncompressor bz2Uncompressor(QStringList() << "bz" << "bz2",cf);
- cf = "gunzip -c \1 > \2";
- PolyUncompressor gzAndZUncompressor(QStringList() << "gz" << "z" << "Z",cf);
- cf = "unzip -c \1 > \2";
- PolyUncompressor zipUncompressor(QStringList() << "zip",cf);
/*
Create code parsers for the languages to be parsed,
@@ -401,9 +379,7 @@ int main(int argc, char **argv)
PlainCodeMarker plainMarker;
CppCodeMarker cppMarker;
- ApiGenerator apiGenerator;
HtmlGenerator htmlGenerator;
- WebXMLGenerator webxmlGenerator;
DitaXmlGenerator ditaxmlGenerator;
QStringList qdocFiles;