summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/helpprojectwriter.h
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-07-23 14:52:28 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-07-29 07:43:38 +0000
commit3714c9b3fe5589eb6e182505a90a44cdc767b1b7 (patch)
treea5dcee5a8413326f46c0ff8b8d4949c3a9b11df0 /src/tools/qdoc/helpprojectwriter.h
parent71545f8df838b82c07fd650cd41692da74fa740e (diff)
qdoc: Allow using group name as a QHP subproject selector
QDoc already recognized "group" as a document type selector, but provided no way of defining which group the members should be selected from. This commit adds that feature, by allowing 'group:groupname' as a selector. All members (from the local tree) of the specified group are added to the subproject. Introduce up-to-date selector names for QML types and documentation pages, but keep the old legacy names for compatibility. Add documentation for the selectors. Change-Id: Ic3f60a028d15f5f8e0035d28fbc503630af8f1d1 Task-number: QTBUG-32985 Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/tools/qdoc/helpprojectwriter.h')
-rw-r--r--src/tools/qdoc/helpprojectwriter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qdoc/helpprojectwriter.h b/src/tools/qdoc/helpprojectwriter.h
index 7b3e8b1e75..e4cd1404c7 100644
--- a/src/tools/qdoc/helpprojectwriter.h
+++ b/src/tools/qdoc/helpprojectwriter.h
@@ -54,6 +54,7 @@ struct SubProject
bool sortPages;
QString type;
QHash<QString, const Node *> nodes;
+ QStringList groups;
};
struct HelpProject