summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/generator.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-09-22 02:48:42 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-09-22 02:48:42 (GMT)
commit860430c4b263875426bb813103047836adc387ec (patch)
tree58781d224f17c34b2cef36d0a5d0925cb3f99fcd /tools/qdoc3/generator.cpp
parent07a7b69cd5662674ec6ac0c7ba0f874baf854b4c (diff)
downloadQt-860430c4b263875426bb813103047836adc387ec.zip
Qt-860430c4b263875426bb813103047836adc387ec.tar.gz
Qt-860430c4b263875426bb813103047836adc387ec.tar.bz2
Remove distinction between different editions in docs.
We now generate only one set of docs, for the qt-everywhere package. Thus we no longer need to differentiate the different editions. Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3/generator.cpp')
-rw-r--r--tools/qdoc3/generator.cpp9
1 files changed, 3 insertions, 6 deletions
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:"