aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webpage.h
blob: 6ae08021d21d69b8addd33b3971632e554fb38e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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