summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2011-12-06 14:47:42 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-07 18:58:43 +0100
commit2aea66519496cbeb4a7ed3a1755b23d7943e3c64 (patch)
tree82b5b9c9d79e2831f38a8002e9a431ab435e7f7f /src/printsupport/kernel
parentc44a67e6f3633a0c7d589bd8bfc09c1407f27fee (diff)
Add "see also" links for QPrinter::{get|set}PageMargins
Change-Id: Ie1ec9cf3740818c71a7afbdec2c99f5fa0e81337 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'src/printsupport/kernel')
-rw-r--r--src/printsupport/kernel/qprinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp
index 252ebd1bd9..03d58667d4 100644
--- a/src/printsupport/kernel/qprinter.cpp
+++ b/src/printsupport/kernel/qprinter.cpp
@@ -1652,6 +1652,8 @@ QRect QPrinter::paperRect() const
This function sets the \a left, \a top, \a right and \a bottom
page margins for this printer. The unit of the margins are
specified with the \a unit parameter.
+
+ \sa getPageMargins
*/
void QPrinter::setPageMargins(qreal left, qreal top, qreal right, qreal bottom, QPrinter::Unit unit)
{
@@ -1683,6 +1685,8 @@ void QPrinter::setMargins(const Margins &m)
Returns the page margins for this printer in \a left, \a top, \a
right, \a bottom. The unit of the returned margins are specified
with the \a unit parameter.
+
+ \sa setPageMargins
*/
void QPrinter::getPageMargins(qreal *left, qreal *top, qreal *right, qreal *bottom, QPrinter::Unit unit) const
{