summaryrefslogtreecommitdiff
path: root/src/core/api/qwebenginepage.cpp
diff options
context:
space:
mode:
authorKirill Burtsev <kirill.burtsev@qt.io>2021-08-16 14:19:36 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-18 09:44:07 +0000
commit031b93abed083562bee555da02c0fc56369d10bf (patch)
treea295fc2c3234bbc9e33d55b6ab68fdb81c3146b6 /src/core/api/qwebenginepage.cpp
parent0856c656623d5bfd4338abbb5c5329139434b81a (diff)
downloadqtwebengine-031b93abed083562bee555da02c0fc56369d10bf.tar.gz
Update documentation notes for build with WebEngine modules
Add cmake usage snippets for module's libraries. Remove quick version from code snippets. Fix minor documentation warnings. Fixes: QTBUG-94937 Change-Id: I2e5c8616ceeab495f604e135bb2aa2261c50c68d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e3cc8e0283daa989ca6957a7100c2c11669f5d1f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/api/qwebenginepage.cpp')
-rw-r--r--src/core/api/qwebenginepage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/api/qwebenginepage.cpp b/src/core/api/qwebenginepage.cpp
index 17e138920..f2c903638 100644
--- a/src/core/api/qwebenginepage.cpp
+++ b/src/core/api/qwebenginepage.cpp
@@ -2275,7 +2275,7 @@ QSizeF QWebEnginePage::contentsSize() const
Renders the current content of the page into a PDF document and saves it
in the location specified in \a filePath.
The page size and orientation of the produced PDF document are taken from
- the values specified in \a pageLayout, while the range of pages printed is
+ the values specified in \a layout, while the range of pages printed is
taken from \a ranges with the default being printing all pages.
This method issues an asynchronous request for printing the web page into
@@ -2302,7 +2302,7 @@ void QWebEnginePage::printToPdf(const QString &filePath, const QPageLayout &layo
/*!
Renders the current content of the page into a PDF document and returns a byte array containing the PDF data
as parameter to \a resultCallback.
- The page size and orientation of the produced PDF document are taken from the values specified in \a pageLayout,
+ The page size and orientation of the produced PDF document are taken from the values specified in \a layout,
while the range of pages printed is taken from \a ranges with the default being printing all pages.
The \a resultCallback must take a const reference to a QByteArray as parameter. If printing was successful, this byte array