summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-09-16 14:14:43 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-19 10:24:25 +0200
commitcd621c201ca637385c6e3409d5c84ecec5fb5418 (patch)
tree981b062e3bbc5c513498b18c10ad55f8252e8486 /doc/src
parent20009ed797fb30952a889df5716aa2399102be58 (diff)
Move the module qdoc files from qtdoc and split up doc/src.
Change-Id: I7d992889379d78e07a0b7023facebd7421cf6d22 Reviewed-on: http://codereview.qt-project.org/5092 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/core/objectmodel/metaobjects.qdoc (renamed from doc/src/objectmodel/metaobjects.qdoc)0
-rw-r--r--doc/src/core/objectmodel/object.qdoc (renamed from doc/src/objectmodel/object.qdoc)0
-rw-r--r--doc/src/core/objectmodel/objecttrees.qdoc (renamed from doc/src/objectmodel/objecttrees.qdoc)0
-rw-r--r--doc/src/core/objectmodel/properties.qdoc (renamed from doc/src/objectmodel/properties.qdoc)0
-rw-r--r--doc/src/core/objectmodel/signalsandslots.qdoc (renamed from doc/src/objectmodel/signalsandslots.qdoc)0
-rw-r--r--doc/src/core/threads.qdoc (renamed from doc/src/tutorials/threads.qdoc)0
-rw-r--r--doc/src/dbus/qtdbus.qdoc40
-rw-r--r--doc/src/gui/coordsys.qdoc (renamed from doc/src/painting-and-printing/coordsys.qdoc)0
-rw-r--r--doc/src/gui/paintsystem.qdoc (renamed from doc/src/painting-and-printing/paintsystem.qdoc)0
-rw-r--r--doc/src/gui/qtgui.qdoc12
-rw-r--r--doc/src/network/files-and-resources/datastreamformat.qdoc (renamed from doc/src/files-and-resources/datastreamformat.qdoc)0
-rw-r--r--doc/src/network/files-and-resources/resources.qdoc (renamed from doc/src/files-and-resources/resources.qdoc)0
-rw-r--r--doc/src/network/network-programming/bearermanagement.qdoc (renamed from doc/src/network-programming/bearermanagement.qdoc)0
-rw-r--r--doc/src/network/network-programming/qtnetwork.qdoc (renamed from doc/src/network-programming/qtnetwork.qdoc)0
-rw-r--r--doc/src/network/network-programming/ssl.qdoc (renamed from doc/src/network-programming/ssl.qdoc)0
-rw-r--r--doc/src/network/qtnetwork.qdoc18
-rw-r--r--doc/src/printsupport/printing.qdoc (renamed from doc/src/painting-and-printing/printing.qdoc)0
-rw-r--r--doc/src/printsupport/qtprintsupport.qdoc19
-rw-r--r--doc/src/sql/qtsql.qdoc18
-rw-r--r--doc/src/sql/sql-programming/qsqldatatype-table.qdoc (renamed from doc/src/sql-programming/qsqldatatype-table.qdoc)0
-rw-r--r--doc/src/sql/sql-programming/sql-driver.qdoc (renamed from doc/src/sql-programming/sql-driver.qdoc)0
-rw-r--r--doc/src/sql/sql-programming/sql-programming.qdoc (renamed from doc/src/sql-programming/sql-programming.qdoc)0
-rw-r--r--doc/src/widgets/addressbook-fr.qdoc (renamed from doc/src/tutorials/addressbook-fr.qdoc)0
-rw-r--r--doc/src/widgets/addressbook.qdoc (renamed from doc/src/tutorials/addressbook.qdoc)0
-rw-r--r--doc/src/widgets/modelview.qdoc (renamed from doc/src/tutorials/modelview.qdoc)0
-rw-r--r--doc/src/widgets/qtwidgets.qdoc18
-rw-r--r--doc/src/widgets/widgets-and-layouts/focus.qdoc (renamed from doc/src/widgets-and-layouts/focus.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-cde.qdoc (renamed from doc/src/widgets-and-layouts/gallery-cde.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-cleanlooks.qdoc (renamed from doc/src/widgets-and-layouts/gallery-cleanlooks.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-gtk.qdoc (renamed from doc/src/widgets-and-layouts/gallery-gtk.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-macintosh.qdoc (renamed from doc/src/widgets-and-layouts/gallery-macintosh.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-motif.qdoc (renamed from doc/src/widgets-and-layouts/gallery-motif.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-plastique.qdoc (renamed from doc/src/widgets-and-layouts/gallery-plastique.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-windows.qdoc (renamed from doc/src/widgets-and-layouts/gallery-windows.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-windowsvista.qdoc (renamed from doc/src/widgets-and-layouts/gallery-windowsvista.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery-windowsxp.qdoc (renamed from doc/src/widgets-and-layouts/gallery-windowsxp.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/gallery.qdoc (renamed from doc/src/widgets-and-layouts/gallery.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/layout.qdoc (renamed from doc/src/widgets-and-layouts/layout.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/styles.qdoc (renamed from doc/src/widgets-and-layouts/styles.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/stylesheet.qdoc (renamed from doc/src/widgets-and-layouts/stylesheet.qdoc)0
-rw-r--r--doc/src/widgets/widgets-and-layouts/widgets.qdoc (renamed from doc/src/widgets-and-layouts/widgets.qdoc)0
-rw-r--r--doc/src/widgets/widgets-tutorial.qdoc (renamed from doc/src/tutorials/widgets-tutorial.qdoc)0
-rw-r--r--doc/src/widgets/windows-and-dialogs/dialogs.qdoc (renamed from doc/src/windows-and-dialogs/dialogs.qdoc)0
-rw-r--r--doc/src/widgets/windows-and-dialogs/mainwindow.qdoc (renamed from doc/src/windows-and-dialogs/mainwindow.qdoc)0
-rw-r--r--doc/src/xml/qtxml.qdoc23
45 files changed, 148 insertions, 0 deletions
diff --git a/doc/src/objectmodel/metaobjects.qdoc b/doc/src/core/objectmodel/metaobjects.qdoc
index 597210e789..597210e789 100644
--- a/doc/src/objectmodel/metaobjects.qdoc
+++ b/doc/src/core/objectmodel/metaobjects.qdoc
diff --git a/doc/src/objectmodel/object.qdoc b/doc/src/core/objectmodel/object.qdoc
index d843f834a5..d843f834a5 100644
--- a/doc/src/objectmodel/object.qdoc
+++ b/doc/src/core/objectmodel/object.qdoc
diff --git a/doc/src/objectmodel/objecttrees.qdoc b/doc/src/core/objectmodel/objecttrees.qdoc
index 46921106b6..46921106b6 100644
--- a/doc/src/objectmodel/objecttrees.qdoc
+++ b/doc/src/core/objectmodel/objecttrees.qdoc
diff --git a/doc/src/objectmodel/properties.qdoc b/doc/src/core/objectmodel/properties.qdoc
index befbde190b..befbde190b 100644
--- a/doc/src/objectmodel/properties.qdoc
+++ b/doc/src/core/objectmodel/properties.qdoc
diff --git a/doc/src/objectmodel/signalsandslots.qdoc b/doc/src/core/objectmodel/signalsandslots.qdoc
index 2f8646ea1c..2f8646ea1c 100644
--- a/doc/src/objectmodel/signalsandslots.qdoc
+++ b/doc/src/core/objectmodel/signalsandslots.qdoc
diff --git a/doc/src/tutorials/threads.qdoc b/doc/src/core/threads.qdoc
index 09707f5dfc..09707f5dfc 100644
--- a/doc/src/tutorials/threads.qdoc
+++ b/doc/src/core/threads.qdoc
diff --git a/doc/src/dbus/qtdbus.qdoc b/doc/src/dbus/qtdbus.qdoc
new file mode 100644
index 0000000000..fa91f67a85
--- /dev/null
+++ b/doc/src/dbus/qtdbus.qdoc
@@ -0,0 +1,40 @@
+/*!
+ \module QtDBus
+ \title QtDBus module
+ \ingroup modules
+
+ \keyword QtDBus
+ \target The QDBus compiler
+
+ \brief The QtDBus module is a Unix-only library that you can use
+ to perform Inter-Process Communication using the \l{D-Bus} protocol.
+
+ Applications using the QtDBus module can provide services to
+ other, remote applications by exporting objects, as well as use
+ services exported by those applications by placing calls and
+ accessing properties.
+
+ The QtDBus module provides an interface that extends the Qt \l
+ {signalsandslots.html}{Signals and Slots} mechanism, allowing one
+ to connect to a signal emitted remotely as well as to connect a
+ local signal to remote slot.
+
+ To use this module, use the following code in your application:
+
+ \snippet doc/src/snippets/code/doc_src_qtdbus.cpp 0
+
+ If you're using qmake to build your application, you can add this
+ line to your .pro file to make it link against the QtDBus
+ libraries:
+
+ \snippet doc/src/snippets/code/doc_src_qtdbus.pro 1
+
+ \note The source code for this module is located in the \c{src/qdbus}
+ directory. When installing Qt from source, this module is built when Qt's
+ tools are built.
+
+ See the \l {D-Bus} page for detailed information on
+ how to use this module.
+
+ This module is part of all \l{Qt editions}.
+*/
diff --git a/doc/src/painting-and-printing/coordsys.qdoc b/doc/src/gui/coordsys.qdoc
index 96eebd01e0..96eebd01e0 100644
--- a/doc/src/painting-and-printing/coordsys.qdoc
+++ b/doc/src/gui/coordsys.qdoc
diff --git a/doc/src/painting-and-printing/paintsystem.qdoc b/doc/src/gui/paintsystem.qdoc
index a567509186..a567509186 100644
--- a/doc/src/painting-and-printing/paintsystem.qdoc
+++ b/doc/src/gui/paintsystem.qdoc
diff --git a/doc/src/gui/qtgui.qdoc b/doc/src/gui/qtgui.qdoc
new file mode 100644
index 0000000000..fd3bcac5a1
--- /dev/null
+++ b/doc/src/gui/qtgui.qdoc
@@ -0,0 +1,12 @@
+/*!
+ \module QtGui
+ \title QtGui Module
+ \ingroup modules
+
+ \brief The QtGui module extends QtCore with GUI functionality.
+
+ To include the definitions of both modules' classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtgui.pro 0
+*/
diff --git a/doc/src/files-and-resources/datastreamformat.qdoc b/doc/src/network/files-and-resources/datastreamformat.qdoc
index 6fe888b52e..6fe888b52e 100644
--- a/doc/src/files-and-resources/datastreamformat.qdoc
+++ b/doc/src/network/files-and-resources/datastreamformat.qdoc
diff --git a/doc/src/files-and-resources/resources.qdoc b/doc/src/network/files-and-resources/resources.qdoc
index d6e320bf04..d6e320bf04 100644
--- a/doc/src/files-and-resources/resources.qdoc
+++ b/doc/src/network/files-and-resources/resources.qdoc
diff --git a/doc/src/network-programming/bearermanagement.qdoc b/doc/src/network/network-programming/bearermanagement.qdoc
index 3d0262aa95..3d0262aa95 100644
--- a/doc/src/network-programming/bearermanagement.qdoc
+++ b/doc/src/network/network-programming/bearermanagement.qdoc
diff --git a/doc/src/network-programming/qtnetwork.qdoc b/doc/src/network/network-programming/qtnetwork.qdoc
index 93ba24815d..93ba24815d 100644
--- a/doc/src/network-programming/qtnetwork.qdoc
+++ b/doc/src/network/network-programming/qtnetwork.qdoc
diff --git a/doc/src/network-programming/ssl.qdoc b/doc/src/network/network-programming/ssl.qdoc
index 0bbcd8afb7..0bbcd8afb7 100644
--- a/doc/src/network-programming/ssl.qdoc
+++ b/doc/src/network/network-programming/ssl.qdoc
diff --git a/doc/src/network/qtnetwork.qdoc b/doc/src/network/qtnetwork.qdoc
new file mode 100644
index 0000000000..084cebd497
--- /dev/null
+++ b/doc/src/network/qtnetwork.qdoc
@@ -0,0 +1,18 @@
+/*!
+ \module QtNetwork
+ \title QtNetwork Module
+ \ingroup modules
+
+ \brief The QtNetwork module provides classes to make network programming
+ easier and portable.
+
+ To include the definitions of the module's classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtnetwork.cpp 1
+
+ To link against the module, add this line to your \l qmake \c
+ .pro file:
+
+ \snippet doc/src/snippets/code/doc_src_qtnetwork.pro 0
+*/
diff --git a/doc/src/painting-and-printing/printing.qdoc b/doc/src/printsupport/printing.qdoc
index c8d6efbc39..c8d6efbc39 100644
--- a/doc/src/painting-and-printing/printing.qdoc
+++ b/doc/src/printsupport/printing.qdoc
diff --git a/doc/src/printsupport/qtprintsupport.qdoc b/doc/src/printsupport/qtprintsupport.qdoc
new file mode 100644
index 0000000000..d143d66ad2
--- /dev/null
+++ b/doc/src/printsupport/qtprintsupport.qdoc
@@ -0,0 +1,19 @@
+/*!
+ \module QtPrintSupport
+ \title QtPrintSupport Module
+ \ingroup modules
+
+ \brief The QtPrintSupport module provides classes to make printing
+ easier and portable.
+
+ To include the definitions of the module's classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtprintsupport.cpp 1
+
+ To link against the module, add this line to your \l qmake \c
+ .pro file:
+
+ \snippet doc/src/snippets/code/doc_src_qtprintsupport.pro 0
+*/
+
diff --git a/doc/src/sql/qtsql.qdoc b/doc/src/sql/qtsql.qdoc
new file mode 100644
index 0000000000..fb05985874
--- /dev/null
+++ b/doc/src/sql/qtsql.qdoc
@@ -0,0 +1,18 @@
+/*!
+ \module QtSql
+ \title QtSql Module
+ \ingroup modules
+
+ To include the definitions of the module's classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtsql.cpp 0
+
+ To link against the module, add this line to your \l qmake \c
+ .pro file:
+
+ \snippet doc/src/snippets/code/doc_src_qtsql.pro 1
+
+ See the \l{SQL Programming} guide for information about using this
+ module in your applications.
+*/
diff --git a/doc/src/sql-programming/qsqldatatype-table.qdoc b/doc/src/sql/sql-programming/qsqldatatype-table.qdoc
index e5a9bf5c5a..e5a9bf5c5a 100644
--- a/doc/src/sql-programming/qsqldatatype-table.qdoc
+++ b/doc/src/sql/sql-programming/qsqldatatype-table.qdoc
diff --git a/doc/src/sql-programming/sql-driver.qdoc b/doc/src/sql/sql-programming/sql-driver.qdoc
index 40c7c6a23c..40c7c6a23c 100644
--- a/doc/src/sql-programming/sql-driver.qdoc
+++ b/doc/src/sql/sql-programming/sql-driver.qdoc
diff --git a/doc/src/sql-programming/sql-programming.qdoc b/doc/src/sql/sql-programming/sql-programming.qdoc
index 55f97484bb..55f97484bb 100644
--- a/doc/src/sql-programming/sql-programming.qdoc
+++ b/doc/src/sql/sql-programming/sql-programming.qdoc
diff --git a/doc/src/tutorials/addressbook-fr.qdoc b/doc/src/widgets/addressbook-fr.qdoc
index 53b3e6fc15..53b3e6fc15 100644
--- a/doc/src/tutorials/addressbook-fr.qdoc
+++ b/doc/src/widgets/addressbook-fr.qdoc
diff --git a/doc/src/tutorials/addressbook.qdoc b/doc/src/widgets/addressbook.qdoc
index d75e2cac2a..d75e2cac2a 100644
--- a/doc/src/tutorials/addressbook.qdoc
+++ b/doc/src/widgets/addressbook.qdoc
diff --git a/doc/src/tutorials/modelview.qdoc b/doc/src/widgets/modelview.qdoc
index 9cbba47b60..9cbba47b60 100644
--- a/doc/src/tutorials/modelview.qdoc
+++ b/doc/src/widgets/modelview.qdoc
diff --git a/doc/src/widgets/qtwidgets.qdoc b/doc/src/widgets/qtwidgets.qdoc
new file mode 100644
index 0000000000..05062b52db
--- /dev/null
+++ b/doc/src/widgets/qtwidgets.qdoc
@@ -0,0 +1,18 @@
+/*!
+ \module QtWidgets
+ \title QtWidgets Module
+ \ingroup modules
+
+ \brief The QtWidgets module extends QtGui with C++ widget functionality.
+
+ To include the definitions of the module's classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtwidgets.cpp 1
+
+ To link against the module, add this line to your \l qmake \c
+ .pro file:
+
+ \snippet doc/src/snippets/code/doc_src_qtwidgets.pro 0
+*/
+
diff --git a/doc/src/widgets-and-layouts/focus.qdoc b/doc/src/widgets/widgets-and-layouts/focus.qdoc
index 316893edc4..316893edc4 100644
--- a/doc/src/widgets-and-layouts/focus.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/focus.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-cde.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-cde.qdoc
index 6d6fea7d1e..6d6fea7d1e 100644
--- a/doc/src/widgets-and-layouts/gallery-cde.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-cde.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-cleanlooks.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-cleanlooks.qdoc
index 603650bc4b..603650bc4b 100644
--- a/doc/src/widgets-and-layouts/gallery-cleanlooks.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-cleanlooks.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-gtk.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-gtk.qdoc
index ce6a773776..ce6a773776 100644
--- a/doc/src/widgets-and-layouts/gallery-gtk.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-gtk.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-macintosh.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-macintosh.qdoc
index 58622151b7..58622151b7 100644
--- a/doc/src/widgets-and-layouts/gallery-macintosh.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-macintosh.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-motif.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-motif.qdoc
index 91485a088f..91485a088f 100644
--- a/doc/src/widgets-and-layouts/gallery-motif.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-motif.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-plastique.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-plastique.qdoc
index 473d7e8da5..473d7e8da5 100644
--- a/doc/src/widgets-and-layouts/gallery-plastique.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-plastique.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-windows.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-windows.qdoc
index 1f600b9814..1f600b9814 100644
--- a/doc/src/widgets-and-layouts/gallery-windows.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-windows.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-windowsvista.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-windowsvista.qdoc
index 534da3e2bd..534da3e2bd 100644
--- a/doc/src/widgets-and-layouts/gallery-windowsvista.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-windowsvista.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc b/doc/src/widgets/widgets-and-layouts/gallery-windowsxp.qdoc
index 4d1c79cc9a..4d1c79cc9a 100644
--- a/doc/src/widgets-and-layouts/gallery-windowsxp.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery-windowsxp.qdoc
diff --git a/doc/src/widgets-and-layouts/gallery.qdoc b/doc/src/widgets/widgets-and-layouts/gallery.qdoc
index eb27ec97db..eb27ec97db 100644
--- a/doc/src/widgets-and-layouts/gallery.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/gallery.qdoc
diff --git a/doc/src/widgets-and-layouts/layout.qdoc b/doc/src/widgets/widgets-and-layouts/layout.qdoc
index 3db58c21f9..3db58c21f9 100644
--- a/doc/src/widgets-and-layouts/layout.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/layout.qdoc
diff --git a/doc/src/widgets-and-layouts/styles.qdoc b/doc/src/widgets/widgets-and-layouts/styles.qdoc
index 3b705de973..3b705de973 100644
--- a/doc/src/widgets-and-layouts/styles.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/styles.qdoc
diff --git a/doc/src/widgets-and-layouts/stylesheet.qdoc b/doc/src/widgets/widgets-and-layouts/stylesheet.qdoc
index 80376b40a1..80376b40a1 100644
--- a/doc/src/widgets-and-layouts/stylesheet.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/stylesheet.qdoc
diff --git a/doc/src/widgets-and-layouts/widgets.qdoc b/doc/src/widgets/widgets-and-layouts/widgets.qdoc
index f3f65b67eb..f3f65b67eb 100644
--- a/doc/src/widgets-and-layouts/widgets.qdoc
+++ b/doc/src/widgets/widgets-and-layouts/widgets.qdoc
diff --git a/doc/src/tutorials/widgets-tutorial.qdoc b/doc/src/widgets/widgets-tutorial.qdoc
index a90c01447a..a90c01447a 100644
--- a/doc/src/tutorials/widgets-tutorial.qdoc
+++ b/doc/src/widgets/widgets-tutorial.qdoc
diff --git a/doc/src/windows-and-dialogs/dialogs.qdoc b/doc/src/widgets/windows-and-dialogs/dialogs.qdoc
index 54f8c05e39..54f8c05e39 100644
--- a/doc/src/windows-and-dialogs/dialogs.qdoc
+++ b/doc/src/widgets/windows-and-dialogs/dialogs.qdoc
diff --git a/doc/src/windows-and-dialogs/mainwindow.qdoc b/doc/src/widgets/windows-and-dialogs/mainwindow.qdoc
index f2b29c9d5b..f2b29c9d5b 100644
--- a/doc/src/windows-and-dialogs/mainwindow.qdoc
+++ b/doc/src/widgets/windows-and-dialogs/mainwindow.qdoc
diff --git a/doc/src/xml/qtxml.qdoc b/doc/src/xml/qtxml.qdoc
new file mode 100644
index 0000000000..20d7600935
--- /dev/null
+++ b/doc/src/xml/qtxml.qdoc
@@ -0,0 +1,23 @@
+/*!
+ \module QtXml
+ \title QtXml Module
+ \ingroup modules
+ \ingroup technology-apis
+
+ \brief The QtXml module provides a stream reader and writer for
+ XML documents, and C++ implementations of SAX and DOM.
+
+ To include the definitions of the module's classes, use the
+ following directive:
+
+ \snippet doc/src/snippets/code/doc_src_qtxml.cpp 0
+
+ To link against the module, add this line to your \l qmake \c
+ .pro file:
+
+ \snippet doc/src/snippets/code/doc_src_qtxml.pro 1
+
+ Further XML support is provided by the \l{Qt Solutions} group who
+ provide, for example, classes that support SOAP and MML with the
+ Qt XML classes.
+*/