summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebengineview.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-24 13:18:52 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-25 08:31:57 +0000
commit66e01f2866479fe9f27f663ddcdc32fefb52e193 (patch)
treee65fa99c568dbb82056fb1bc2f0f57eb4c04f7ff /src/webenginewidgets/api/qwebengineview.h
parent26db8c70baa518843ec5ceba04196608f4b82bf0 (diff)
Move printToPDF to page
The API needs nothing from view and view just forwards it to the page anyway. This is an page level API, this also makes it work without being shown. Change-Id: I3b8555ab472ec2c7632db3655bcc31925fcfa001 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineview.h')
-rw-r--r--src/webenginewidgets/api/qwebengineview.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/webenginewidgets/api/qwebengineview.h b/src/webenginewidgets/api/qwebengineview.h
index 30125e575..91410fd2d 100644
--- a/src/webenginewidgets/api/qwebengineview.h
+++ b/src/webenginewidgets/api/qwebengineview.h
@@ -41,7 +41,6 @@
#define QWEBENGINEVIEW_H
#include <QtGui/qpainter.h>
-#include <QtGui/qpagelayout.h>
#include <QtNetwork/qnetworkaccessmanager.h>
#include <QtWidgets/qwidget.h>
@@ -105,8 +104,6 @@ public:
virtual QSize sizeHint() const Q_DECL_OVERRIDE;
QWebEngineSettings *settings() const;
- void printToPDF(const QString &filePath, const QPageLayout &layout = QPageLayout());
-
public Q_SLOTS:
void stop();
void back();