summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-11-28 15:04:11 +0100
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2018-11-30 09:51:04 +0000
commit19b28e271ca3f4d0042b739e90b3d902f2866044 (patch)
tree92a31d8c2fc364d1d115e5d90089e9cfb382ef19
parenta9929ae7700ba6e3a1627a65fb7064b1ba2f0d83 (diff)
downloadqtxmlpatterns-19b28e271ca3f4d0042b739e90b3d902f2866044.tar.gz
Doc: Add the XmlListModel sources to the doc config
Otherwise, the XmlListModel and XmlRole docs are not built. Change-Id: I9d74d969e805a97b650f24797f171d8f03dcf88c Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/imports/xmllistmodel/qqmlxmllistmodel.cpp3
-rw-r--r--src/xmlpatterns/doc/qtxmlpatterns.qdocconf9
-rw-r--r--src/xmlpatterns/doc/src/qtxmlpatterns-index.qdoc1
3 files changed, 10 insertions, 3 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
index 470b419..ba8d948 100644
--- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
@@ -75,7 +75,8 @@ typedef QPair<int, int> QQuickXmlListRange;
/*!
\qmlmodule QtQuick.XmlListModel 2.\QtMinorVersion
- \title Qt Quick XmlListModel QML Types
+ \title Qt XML Patterns QML Types
+ \keyword Qt Quick XmlListModel QML Types
\ingroup qmlmodules
\brief Provides QML types for creating models from XML data
diff --git a/src/xmlpatterns/doc/qtxmlpatterns.qdocconf b/src/xmlpatterns/doc/qtxmlpatterns.qdocconf
index d7919dc..fd6ca90 100644
--- a/src/xmlpatterns/doc/qtxmlpatterns.qdocconf
+++ b/src/xmlpatterns/doc/qtxmlpatterns.qdocconf
@@ -12,7 +12,8 @@ exampledirs += ../../../examples/xmlpatterns \
headerdirs += ..
imagedirs += images
-sourcedirs += ..
+sourcedirs += .. \
+ ../../imports/xmllistmodel
depends += qtcore qtxml qtwidgets qtdesigner qtdoc qmake qtwebkitexamples
@@ -23,11 +24,15 @@ qhp.QtXmlPatterns.namespace = org.qt-project.qtxmlpatterns.$QT_VERSION_TAG
qhp.QtXmlPatterns.indexTitle = Qt XML Patterns
qhp.QtXmlPatterns.virtualFolder = qtxmlpatterns
-qhp.QtXmlPatterns.subprojects = classes
+qhp.QtXmlPatterns.subprojects = classes qmltypes
qhp.QtXmlPatterns.subprojects.classes.title = C++ Classes
qhp.QtXmlPatterns.subprojects.classes.indexTitle = Qt XML Patterns C++ Classes
qhp.QtXmlPatterns.subprojects.classes.selectors = class fake:headerfile
qhp.QtXmlPatterns.subprojects.classes.sortPages = true
+qhp.QtXmlPatterns.subprojects.qmltypes.title = QML Types
+qhp.QtXmlPatterns.subprojects.qmltypes.indexTitle = Qt XML Patterns QML Types
+qhp.QtXmlPatterns.subprojects.qmltypes.selectors = qmltype
+qhp.QtXmlPatterns.subprojects.qmltypes.sortPages = true
tagfile = ../../../doc/qtxmlpatterns/qtxmlpatterns.tags
diff --git a/src/xmlpatterns/doc/src/qtxmlpatterns-index.qdoc b/src/xmlpatterns/doc/src/qtxmlpatterns-index.qdoc
index 0882017..3a399c1 100644
--- a/src/xmlpatterns/doc/src/qtxmlpatterns-index.qdoc
+++ b/src/xmlpatterns/doc/src/qtxmlpatterns-index.qdoc
@@ -63,6 +63,7 @@
These are links to the API reference materials.
\list
\li \l{Qt XML Patterns C++ Classes}{C++ Classes}
+ \li \l{Qt XML Patterns QML Types}{QML Types}
\endlist
\section1 Licenses and Attributions