summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/simplebrowser/webpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webenginewidgets/simplebrowser/webpage.h')
-rw-r--r--examples/webenginewidgets/simplebrowser/webpage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/webenginewidgets/simplebrowser/webpage.h b/examples/webenginewidgets/simplebrowser/webpage.h
index d69c459e9..00eb48156 100644
--- a/examples/webenginewidgets/simplebrowser/webpage.h
+++ b/examples/webenginewidgets/simplebrowser/webpage.h
@@ -53,6 +53,7 @@
#include <QWebEnginePage>
#include <QWebEngineRegisterProtocolHandlerRequest>
+#include <QWebEngineCertificateError>
class WebPage : public QWebEnginePage
{
@@ -61,14 +62,13 @@ class WebPage : public QWebEnginePage
public:
WebPage(QWebEngineProfile *profile, QObject *parent = nullptr);
+signals:
+ void createCertificateErrorDialog(QWebEngineCertificateError error);
+
protected:
void certificateError(QWebEngineCertificateError error) override;
private slots:
- void handleAuthenticationRequired(const QUrl &requestUrl, QAuthenticator *auth);
- void handleFeaturePermissionRequested(const QUrl &securityOrigin, Feature feature);
- void handleProxyAuthenticationRequired(const QUrl &requestUrl, QAuthenticator *auth, const QString &proxyHost);
- void handleRegisterProtocolHandlerRequested(QWebEngineRegisterProtocolHandlerRequest request);
void handleSelectClientCertificate(QWebEngineClientCertificateSelection clientCertSelection);
};