summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport')
-rw-r--r--src/printsupport/kernel/qprinter.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp
index 4f8eaba85a..2cecf61573 100644
--- a/src/printsupport/kernel/qprinter.cpp
+++ b/src/printsupport/kernel/qprinter.cpp
@@ -1092,12 +1092,20 @@ void QPrinter::setCreator(const QString &creator)
To obtain the current page margins use pageLayout().pageMargins().
- Returns true if the page margins was successfully set to \a margins.
+ Returns \c true if the page margins was successfully set to \a margins.
\sa pageLayout(), setPageLayout()
*/
/*!
+ \fn bool QPrinter::setPageMargins(const QMarginsF &margins)
+
+ Set the page margins to \a margins using the current units.
+ Returns \c true if the page margins were set successfully.
+
+ \sa pageLayout(), setPageLayout()
+*/
+/*!
\fn QPageLayout QPrinter::pageLayout() const
\since 5.3