summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-11 18:35:15 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-11 18:35:15 (GMT)
commitc7cd5b1a4034639af7e6bc8976ec822dbc986711 (patch)
tree020ded5401bfaf54c968ae29c73aa6735876e523 /tools/qdoc3/main.cpp
parent466953c0504ec8d84115af4723d6039b21a98ed1 (diff)
downloadQt-c7cd5b1a4034639af7e6bc8976ec822dbc986711.zip
Qt-c7cd5b1a4034639af7e6bc8976ec822dbc986711.tar.gz
Qt-c7cd5b1a4034639af7e6bc8976ec822dbc986711.tar.bz2
Started fixing qdoc's output to use some kind of page templates.
Removed hard-coded style and script information. Split .qdocconf files to help separate content and presentation. Task-number: QTBUG-15208
Diffstat (limited to 'tools/qdoc3/main.cpp')
-rw-r--r--tools/qdoc3/main.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp
index 2bfe38e..85b23e9 100644
--- a/tools/qdoc3/main.cpp
+++ b/tools/qdoc3/main.cpp
@@ -105,7 +105,6 @@ static bool showInternal = false;
static bool obsoleteLinks = false;
static QStringList defines;
static QHash<QString, Tree *> trees;
-static QString appArg; // application
/*!
Find the Tree for language \a lang and return a pointer to it.
@@ -193,24 +192,6 @@ static void processQdocconfFile(const QString &fileName)
config.load(fileName);
/*
- Set the application to which qdoc will create the output.
- The two applications are:
-
- creator: additional formatting for viewing in
- the Creator application.
-
- online: full-featured online version with search and
- links to Qt topics
- */
- if (appArg.isEmpty()) {
- qDebug() << "Warning: Application flag not specified on"
- << "command line. Options are -creator (default)"
- << "and -online.";
- appArg = "creator";
- }
- config.setStringList(CONFIG_APPLICATION, QStringList(appArg));
-
- /*
Add the defines to the configuration variables.
*/
QStringList defs = defines + config.getStringList(CONFIG_DEFINES);
@@ -481,10 +462,6 @@ int main(int argc, char **argv)
else if (opt == "-obsoletelinks") {
obsoleteLinks = true;
}
- else if (opt == "-creator")
- appArg = "creator";
- else if (opt == "-online")
- appArg = "online";
else {
qdocFiles.append(opt);
}