diff options
Diffstat (limited to 'src/webengine/webpage.h')
-rw-r--r-- | src/webengine/webpage.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/webengine/webpage.h b/src/webengine/webpage.h new file mode 100644 index 0000000..6ae0802 --- /dev/null +++ b/src/webengine/webpage.h @@ -0,0 +1,19 @@ +#ifndef WEBPAGE_H +#define WEBPAGE_H + +#include <QWebEnginePage> + +class WebPage : public QWebEnginePage +{ + Q_OBJECT +public: + explicit WebPage(QWebEngineProfile *profile, QObject *parent = nullptr); + +signals: + void certificateErrorMessage(const QString &message); + +protected: + bool certificateError(const QWebEngineCertificateError &certificateError); +}; + +#endif // WEBPAGE_H |