aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webpage.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-04-29 18:49:07 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-05-08 13:40:29 +0300
commite87693c54ca97ed3a6ed25f9eaae8ab223fc18b1 (patch)
tree54194ca979ac7e646ff3f10ed6d7f7753273f0be /src/webengine/webpage.h
parentExpand pluginloader test coverage (diff)
downloadsmolbote-e87693c54ca97ed3a6ed25f9eaae8ab223fc18b1.tar.xz
libwebengine
Make src/webengine into a static library - Add some tests - Updated manpage - Remove WebProfileManager::id and WebProfileManager::instance - Add consumable semantics checks to WebProfileManager - Add WebProfileManager::walk Add ApplicationMenu class
Diffstat (limited to 'src/webengine/webpage.h')
-rw-r--r--src/webengine/webpage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webengine/webpage.h b/src/webengine/webpage.h
index 48011cb..91ae4f3 100644
--- a/src/webengine/webpage.h
+++ b/src/webengine/webpage.h
@@ -14,13 +14,15 @@
class WebPage : public QWebEnginePage
{
Q_OBJECT
+
public:
- explicit WebPage(QWebEngineProfile *profile, QObject *parent = nullptr);
+ WebPage(QWebEngineProfile *profile, QObject *parent = nullptr);
+ ~WebPage() override = default;
protected:
bool certificateError(const QWebEngineCertificateError &certificateError) override;
-private slots:
+protected slots:
void featurePermissionDialog(const QUrl &securityOrigin, QWebEnginePage::Feature feature);
void renderProcessCrashed(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode);
};