aboutsummaryrefslogtreecommitdiff
path: root/src/webwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webwindow.hpp')
-rw-r--r--src/webwindow.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webwindow.hpp b/src/webwindow.hpp
index 49b2394..1d4a83e 100644
--- a/src/webwindow.hpp
+++ b/src/webwindow.hpp
@@ -14,10 +14,10 @@
class WebWindow : public QMainWindow
{
private:
- QWebEngineProfile _profile;
- QWebEnginePage _page;
- QWebEngineView _view;
- PermissionManager _permissions;
+ QWebEngineProfile profile;
+ QWebEnginePage page;
+ QWebEngineView view;
+ PermissionManager perm;
void web_configure();
void permission_requested(const QUrl origin, QWebEnginePage::Feature feature);
@@ -28,7 +28,7 @@ public:
void connect_icon_changed(std::function<void(const QIcon)> fn);
void connect_title_changed(std::function<void(const QString)> fn);
void connect_notification(std::function<void(std::unique_ptr<QWebEngineNotification>)> fn);
- void set_feature(QWebEnginePage::Feature feature, bool value);
+ PermissionManager &permissions();
void reset_cookies();
void toggle_visibility();
void quit();