summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginenewwindowrequest.h
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-07-12 11:52:15 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2021-07-12 15:25:40 +0000
commit5be01d2ffd3dbc2b023dd1ffb75d376019ee934e (patch)
treefe18806f69903e910bc73ab928c98f3946c74386 /src/core/api/qwebenginenewwindowrequest.h
parent7b7c4894151f3af05e635031a4626eeb04173bb6 (diff)
Get rid of private methods of QWebEngineNewWindowRequest
Pick-to: 6.2 Change-Id: I40072b45ceffa1a2c92027a4c01239974b8ac498 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/api/qwebenginenewwindowrequest.h')
-rw-r--r--src/core/api/qwebenginenewwindowrequest.h10
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