diff --git a/src/xmlpatterns/api/qabstractmessagehandler.cpp b/src/xmlpatterns/api/qabstractmessagehandler.cpp
index f573dde1efac9c6c45279b5db2bbf9665e6033eb..3f4464b137a14a8f4fe89b0918aaf6682bc09058 100644
--- a/src/xmlpatterns/api/qabstractmessagehandler.cpp
+++ b/src/xmlpatterns/api/qabstractmessagehandler.cpp
@@ -57,7 +57,7 @@ public:
   \threadsafe
   \since 4.4
   \ingroup xml-tools
-
+  \inmodule QtXmlPatterns
   \brief The QAbstractMessageHandler class provides a callback interface for handling messages.
 
   QAbstractMessageHandler is an abstract base class that provides a
diff --git a/src/xmlpatterns/api/qabstracturiresolver.cpp b/src/xmlpatterns/api/qabstracturiresolver.cpp
index fe1a2ad922755fe4651271c7927d4e22596edd5c..3a3d61e06ba0b06a514b6cc5cc31077f83241c58 100644
--- a/src/xmlpatterns/api/qabstracturiresolver.cpp
+++ b/src/xmlpatterns/api/qabstracturiresolver.cpp
@@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE
   \since 4.4
   \reentrant
   \ingroup xml-tools
-
+  \inmodule QtXmlPatterns
   A Uniform Resource Identifier (URI) is a string that uniquely
   identifies a resource. URIs are versatile global identifiers. It is
   often useful to transform a URI that identifies something logical
diff --git a/src/xmlpatterns/api/qabstractxmlforwarditerator.cpp b/src/xmlpatterns/api/qabstractxmlforwarditerator.cpp
index 7d974e5a6bb455a04b6ffb846e7f0d2be0dcf524..d2d0a69752d012b03ea05da352ce97d3b19c1523 100644
--- a/src/xmlpatterns/api/qabstractxmlforwarditerator.cpp
+++ b/src/xmlpatterns/api/qabstractxmlforwarditerator.cpp
@@ -45,6 +45,7 @@
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
   \internal
 
   This abstract base class is for creating iterators for
diff --git a/src/xmlpatterns/api/qabstractxmlnodemodel.cpp b/src/xmlpatterns/api/qabstractxmlnodemodel.cpp
index bc1d2a8918c95e8c891447a6c123b6492b7aba49..4e7c362fcab25ba70662431da3749b018588a26d 100644
--- a/src/xmlpatterns/api/qabstractxmlnodemodel.cpp
+++ b/src/xmlpatterns/api/qabstractxmlnodemodel.cpp
@@ -79,6 +79,7 @@ bool QAbstractXmlNodeModel::isIgnorableInDeepEqual(const QXmlNodeModelIndex &n)
   \threadsafe
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   The QAbstractXmlNodeModel specifies the interface that a node model
   must implement for that node model be accessible to the query engine
@@ -1098,6 +1099,7 @@ bool QAbstractXmlNodeModel::isDeepEqual(const QXmlNodeModelIndex &n1,
   \since 4.4
   \brief The QXmlItem class contains either an XML node or an atomic value.
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   In XQuery, all expressions evaluate to a sequence of items, where
   each item is either an XML node or an atomic value. The query in the
@@ -1303,6 +1305,7 @@ bool QXmlItem::isNull() const
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QXmlNodeModelIndex is an index into an \l{QAbstractXmlNodeModel}
   {XML node model}. It contains:
diff --git a/src/xmlpatterns/api/qabstractxmlreceiver.cpp b/src/xmlpatterns/api/qabstractxmlreceiver.cpp
index e8880b7a4a80d87ea470eadd68394f60b08bf1aa..90d5d9cb09ebd19e239a5ddbb64aaa1c6e1e4215 100644
--- a/src/xmlpatterns/api/qabstractxmlreceiver.cpp
+++ b/src/xmlpatterns/api/qabstractxmlreceiver.cpp
@@ -55,6 +55,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QAbstractXmlReceiver is an abstract base class that provides
   a callback interface for receiving an \l {XQuery Sequence}
diff --git a/src/xmlpatterns/api/qsimplexmlnodemodel.cpp b/src/xmlpatterns/api/qsimplexmlnodemodel.cpp
index 8ac965e5f647811ad372712a534828830b6a9b6e..5586932ccb50e0d214e80cec2cff7f0f534303e6 100644
--- a/src/xmlpatterns/api/qsimplexmlnodemodel.cpp
+++ b/src/xmlpatterns/api/qsimplexmlnodemodel.cpp
@@ -70,6 +70,7 @@ public:
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   Subclassing QAbstractXmlNodeModel can be a significant task, because it
   requires implementing several, complex member functions. QSimpleXmlNodeModel
diff --git a/src/xmlpatterns/api/qsourcelocation.cpp b/src/xmlpatterns/api/qsourcelocation.cpp
index b021885c7906e384a63607b98b2993443b7a8595..9f130ee3eec2311b223801f505e787b821d129dd 100644
--- a/src/xmlpatterns/api/qsourcelocation.cpp
+++ b/src/xmlpatterns/api/qsourcelocation.cpp
@@ -52,6 +52,7 @@ QT_BEGIN_NAMESPACE
   \since 4.4
   \brief The QSourceLocation class identifies a location in a resource by URI, line, and column.
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QSourceLocation is a simple value based class that has three
   properties, uri(), line(), and column(), that, taken together,
diff --git a/src/xmlpatterns/api/qxmlformatter.cpp b/src/xmlpatterns/api/qxmlformatter.cpp
index 4e9196f2ca0222b8b05b2f7658fcb9abf13928ed..7ed77af74789e16b004ce1bec0a8ac087795f656 100644
--- a/src/xmlpatterns/api/qxmlformatter.cpp
+++ b/src/xmlpatterns/api/qxmlformatter.cpp
@@ -84,6 +84,7 @@ QXmlFormatterPrivate::QXmlFormatterPrivate(const QXmlQuery &query,
    \reentrant
    \since 4.4
    \ingroup xml-tools
+   \inmodule QtXmlPatterns
 
    QXmlFormatter is a subclass of QXmlSerializer that formats the XML
    output to make it easier for humans to read.
diff --git a/src/xmlpatterns/api/qxmlname.cpp b/src/xmlpatterns/api/qxmlname.cpp
index 53d8155cec8e163b9e2f44f6b017b13d2b2e9681..19f1437708d74ab37103b516758d26ecbc08100c 100644
--- a/src/xmlpatterns/api/qxmlname.cpp
+++ b/src/xmlpatterns/api/qxmlname.cpp
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.4
   \ingroup xml-tools
-
+  \inmodule QtXmlPatterns
   QXmlName represents the name of an XML node in a way that
   is both efficient and safe for comparing names. Normally,
   an XML node represents an XML element or attribute, but
diff --git a/src/xmlpatterns/api/qxmlquery.cpp b/src/xmlpatterns/api/qxmlquery.cpp
index c25484329fae9d5da37703f8b5f8bdd358a128c6..c3552d5e2cb50649f3a95af46060e8b2f400cfd4 100644
--- a/src/xmlpatterns/api/qxmlquery.cpp
+++ b/src/xmlpatterns/api/qxmlquery.cpp
@@ -63,6 +63,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   The QXmlQuery class compiles and executes queries written in the
   \l {http://www.w3.org/TR/xquery/}{XQuery language}. QXmlQuery is
diff --git a/src/xmlpatterns/api/qxmlresultitems.cpp b/src/xmlpatterns/api/qxmlresultitems.cpp
index 1117e8655d7d403282317522a7619013b5fcf683..48bac085d2536cb888b1b32c13cf2921af64ccf6 100644
--- a/src/xmlpatterns/api/qxmlresultitems.cpp
+++ b/src/xmlpatterns/api/qxmlresultitems.cpp
@@ -51,6 +51,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QXmlResultItems presents the evaluation of an associated query as a
   sequence of \l{QXmlItem}{QXmlItems}. The sequence is traversed by
diff --git a/src/xmlpatterns/api/qxmlschema.cpp b/src/xmlpatterns/api/qxmlschema.cpp
index a1dfe7a42117a14f6c6aa79ae87f91d4dc692943..6bf4e5cac5db4d5d53415da8a56b4acd6c483673 100644
--- a/src/xmlpatterns/api/qxmlschema.cpp
+++ b/src/xmlpatterns/api/qxmlschema.cpp
@@ -55,6 +55,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.6
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   The QXmlSchema class loads, compiles and validates W3C XML Schema files
   that can be used further for validation of XML instance documents via
diff --git a/src/xmlpatterns/api/qxmlschemavalidator.cpp b/src/xmlpatterns/api/qxmlschemavalidator.cpp
index ed867f9251eb45af2386ab9d47e2c664bfadd717..3e0f0501551d8e555a82a73b3756fb1311d60bd1 100644
--- a/src/xmlpatterns/api/qxmlschemavalidator.cpp
+++ b/src/xmlpatterns/api/qxmlschemavalidator.cpp
@@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE
   \reentrant
   \since 4.6
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   The QXmlSchemaValidator class loads, parses an XML instance document and validates it
   against a W3C XML Schema that has been compiled with \l{QXmlSchema}.
diff --git a/src/xmlpatterns/api/qxmlserializer.cpp b/src/xmlpatterns/api/qxmlserializer.cpp
index ea77756dfcf5039ff2c068997fdc42f32a89ce24..f43773c5268261c89d5d4bb60989b2a4b2cae042 100644
--- a/src/xmlpatterns/api/qxmlserializer.cpp
+++ b/src/xmlpatterns/api/qxmlserializer.cpp
@@ -97,6 +97,7 @@ QXmlSerializerPrivate::QXmlSerializerPrivate(const QXmlQuery &query,
   \reentrant
   \since 4.4
   \ingroup xml-tools
+  \inmodule QtXmlPatterns
 
   QXmlSerializer translates an \l {XQuery Sequence} {XQuery sequence}, usually
   the output of an QXmlQuery, into XML. Consider the example:
diff --git a/tools/xmlpatterns/qapplicationargument.cpp b/tools/xmlpatterns/qapplicationargument.cpp
index d400a593bcb3c3e67922499a9dee4e3555529655..01c467abe39812b0d9b6cf7480065bc2544bfc9d 100644
--- a/tools/xmlpatterns/qapplicationargument.cpp
+++ b/tools/xmlpatterns/qapplicationargument.cpp
@@ -53,6 +53,7 @@ QT_BEGIN_NAMESPACE
  \reentrant
  \internal
  \since 4.4
+ \inmodule QtXmlPatterns
 
  QApplicationArgument describes a valid command line argument,
  by having a set of characteristics:
diff --git a/tools/xmlpatterns/qapplicationargumentparser.cpp b/tools/xmlpatterns/qapplicationargumentparser.cpp
index 62bd3e2f6b72438502210c2b964e19c504b3af06..811262c88b35b2c741dd081b4ca0e525650eca5a 100644
--- a/tools/xmlpatterns/qapplicationargumentparser.cpp
+++ b/tools/xmlpatterns/qapplicationargumentparser.cpp
@@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE
  \reentrant
  \internal
  \since 4.4
+ \inmodule QtXmlPatterns
 
  QApplicationArgumentParser simplifies writing command line applications by taking care of: