diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-05-19 15:03:12 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2015-07-22 13:47:23 +0000 |
commit | e6ddae07e1e571a7a6e0c531b961dbddcd217643 (patch) | |
tree | 84c366f499a91152456cc8a85995d97ec6bc6e94 /src/printsupport/kernel | |
parent | 9499cf33b7284d1a2626fecc1abde75e1dc52c23 (diff) |
Doc:added doc to undocumented functions
Task-number: QTBUG-36985
Change-Id: Ic358682b276d67ef804f727bcf14191718613469
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/printsupport/kernel')
-rw-r--r-- | src/printsupport/kernel/qprinter.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
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,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 |