diff options
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/webview.h b/src/webview.h index 98c596d..27ab2f7 100644 --- a/src/webview.h +++ b/src/webview.h @@ -7,6 +7,7 @@ class QNetworkReply; class QTimer; +class QWebFrame; /** * Make sure pages that want to load in a new tab are actually loaded in the same page, @@ -17,7 +18,7 @@ class WebView : public QWebView Q_OBJECT public: WebView(QWidget* parent = NULL); - void reset(const QString baseUrl); + void reset(const QString baseUrl); protected: QWebView *createWindow(QWebPage::WebWindowType) override; @@ -27,6 +28,8 @@ protected: void resetTimeout(); + void jsInjector(QWebFrame *frame); + signals: void triggerReset(const QString &message); void startAuthentication(const QString &user, const QString &pass); |