summaryrefslogtreecommitdiffstats
path: root/src/printsupport/doc/src
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-05-14 15:02:37 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-20 15:20:26 +0200
commitb735ef88a20e8a43e678b7b5a5dbf17741bd8c24 (patch)
tree812276adc6c5393d8a5ae15e31935359f8ede611 /src/printsupport/doc/src
parent85e61297f7b02297641826332dbdbc845a88c34b (diff)
Doc: Remove widgets examples from Qt Print Support documentation
The .qdocconf file for Qt Print Support includes examples/widgets in its exampledirs, presumably because a few examples there have printing support. The documentation for these examples is not accessible from Print Support index/module pages, and qdoc prints a lot of warnings for them (missing images). There's only few dependencies to examples in Print Support docs. These are resolved by copying a code snippet to correct place, and removing \sa links from QAbstractPrintDialog. Task-number: QTBUG-31137 Change-Id: Iac20d151f93ac16449241c6ee85979781b26e607 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/printsupport/doc/src')
-rw-r--r--src/printsupport/doc/src/qtprintsupport-index.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printsupport/doc/src/qtprintsupport-index.qdoc b/src/printsupport/doc/src/qtprintsupport-index.qdoc
index 6f975e9be7..243468e5fb 100644
--- a/src/printsupport/doc/src/qtprintsupport-index.qdoc
+++ b/src/printsupport/doc/src/qtprintsupport-index.qdoc
@@ -65,7 +65,7 @@
a QPrintDialog, allowing the user to specify the printer to use, paper size, and
other printing properties.
- \snippet richtext/orderform/mainwindow.cpp 18
+ \snippet widgetprinting.cpp 1
It is also possible to set certain default properties by modifying the QPrinter
before it is supplied to the print dialog. For example, applications that