diff options
-rw-r--r-- | doc/doc.pri | 2 | ||||
-rw-r--r-- | doc/src/index.qdoc | 18 | ||||
-rw-r--r-- | doc/src/modules.qdoc | 2 | ||||
-rw-r--r-- | tools/qdoc3/generator.cpp | 9 |
4 files changed, 5 insertions, 26 deletions
diff --git a/doc/doc.pri b/doc/doc.pri index 66953e6..9105fbb 100644 --- a/doc/doc.pri +++ b/doc/doc.pri @@ -2,7 +2,7 @@ # Qt documentation build ##################################################################### -DOCS_GENERATION_DEFINES = -Dopensourceedition +DOCS_GENERATION_DEFINES = GENERATOR = $$QT_BUILD_TREE/bin/qhelpgenerator win32:!win32-g++ { diff --git a/doc/src/index.qdoc b/doc/src/index.qdoc index 4e91d79..ed4bbbe 100644 --- a/doc/src/index.qdoc +++ b/doc/src/index.qdoc @@ -43,24 +43,8 @@ \page index.html \keyword Qt Reference Documentation - \if defined(opensourceedition) - \title Qt Reference Documentation (Open Source Edition) - \endif - - \if defined(desktoplightedition) - \title Qt Reference Documentation (GUI Framework Edition) - \endif - - \if defined(desktopedition) - \title Qt Reference Documentation (Full Framework Edition) - \endif - - \if !defined(opensourceedition) \ - && !defined(desktoplightedition) \ - && !defined(desktopedition) \title Qt Reference Documentation - \endif - + \raw HTML <table cellpadding="2" cellspacing="1" border="0" width="95%" class="indextable" align="center"> <tr> diff --git a/doc/src/modules.qdoc b/doc/src/modules.qdoc index bbdae9d..9c92a31 100644 --- a/doc/src/modules.qdoc +++ b/doc/src/modules.qdoc @@ -636,10 +636,8 @@ This module is part of the \l{Qt Full Framework Edition} and the \l{Open Source Versions of Qt}. Most classes offered by this module are also part of the \l{Qt GUI Framework Edition}. -\if defined(opensourceedition) || defined(desktoplightedition) Classes that are not available for \l{Qt GUI Framework Edition} users are marked as such in the class documentation. -\endif \sa {Porting to Qt 4} */ diff --git a/tools/qdoc3/generator.cpp b/tools/qdoc3/generator.cpp index 2d03860..47fe4b5 100644 --- a/tools/qdoc3/generator.cpp +++ b/tools/qdoc3/generator.cpp @@ -562,24 +562,21 @@ void Generator::generateModuleWarning(const ClassNode *classe, QString module = classe->moduleName(); if (!module.isEmpty()) { Text text; - if (Tokenizer::isTrue("defined(consoleedition)") - && !editionModuleMap["Console"].contains(module)) { + if (!editionModuleMap["Console"].contains(module)) { text << Atom::ParaLeft << Atom(Atom::FormattingLeft, ATOM_FORMATTING_BOLD) << "This class is not part of the Qt Console Edition." << Atom(Atom::FormattingRight, ATOM_FORMATTING_BOLD) << Atom::ParaRight; } - else if (Tokenizer::isTrue("defined(desktoplightedition)") - && !editionModuleMap["DesktopLight"].contains(module)) { + else if (!editionModuleMap["DesktopLight"].contains(module)) { text << Atom::ParaLeft << Atom(Atom::FormattingLeft, ATOM_FORMATTING_BOLD) << "This class is not part of the Qt Desktop Light Edition." << Atom(Atom::FormattingRight, ATOM_FORMATTING_BOLD) << Atom::ParaRight; } - else if (module == "Qt3Support" && - Tokenizer::isTrue("defined(opensourceedition)")) { + else if (module == "Qt3Support") { text << Atom::ParaLeft << Atom(Atom::FormattingLeft, ATOM_FORMATTING_BOLD) << "Note to Qt Desktop Light Edition users:" |