diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-07-12 11:52:15 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-12 20:09:25 +0000 |
commit | b58b4c59f1beb5679f6d0edae5497bbc9eadbff3 (patch) | |
tree | 5eb1606c1dc34cb1130762abec98bb93346a15d0 /src/core/api/qwebenginenewwindowrequest.h | |
parent | 342a43b4003be531bcd28b5acf054901d9b02669 (diff) |
Get rid of private methods of QWebEngineNewWindowRequest
Change-Id: I40072b45ceffa1a2c92027a4c01239974b8ac498
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 5be01d2ffd3dbc2b023dd1ffb75d376019ee934e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/api/qwebenginenewwindowrequest.h')
-rw-r--r-- | src/core/api/qwebenginenewwindowrequest.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/core/api/qwebenginenewwindowrequest.h b/src/core/api/qwebenginenewwindowrequest.h index dd7256a03..4066f1a65 100644 --- a/src/core/api/qwebenginenewwindowrequest.h +++ b/src/core/api/qwebenginenewwindowrequest.h @@ -37,8 +37,8 @@ ** ****************************************************************************/ -#ifndef QWEBENGINENEWWINDOWREQUEST_P_H -#define QWEBENGINENEWWINDOWREQUEST_P_H +#ifndef QWEBENGINENEWWINDOWREQUEST_H +#define QWEBENGINENEWWINDOWREQUEST_H #include <QtWebEngineCore/qtwebenginecoreglobal.h> #include <QtCore/qobject.h> @@ -83,10 +83,6 @@ protected: QSharedPointer<QtWebEngineCore::WebContentsAdapter>, QObject * = nullptr); - QSharedPointer<QtWebEngineCore::WebContentsAdapter> adapter(); - bool isHandled() const; - void setHandled(); - QScopedPointer<QWebEngineNewWindowRequestPrivate> d_ptr; friend class QWebEnginePage; friend class QWebEnginePagePrivate; @@ -96,4 +92,4 @@ protected: QT_END_NAMESPACE -#endif // QWEBENGINENEWWINDOWREQUEST_P_H +#endif // QWEBENGINENEWWINDOWREQUEST_H |