From e6ddae07e1e571a7a6e0c531b961dbddcd217643 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 19 May 2015 15:03:12 +0200 Subject: Doc:added doc to undocumented functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-36985 Change-Id: Ic358682b276d67ef804f727bcf14191718613469 Reviewed-by: Topi Reiniƶ --- src/printsupport/kernel/qprinter.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/printsupport') diff --git a/src/printsupport/kernel/qprinter.cpp b/src/printsupport/kernel/qprinter.cpp index a9dfcc8f09..e9009aa2f7 100644 --- a/src/printsupport/kernel/qprinter.cpp +++ b/src/printsupport/kernel/qprinter.cpp @@ -1092,11 +1092,19 @@ 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 -- cgit v1.2.3