diff options
Diffstat (limited to 'src/webpage.h')
-rw-r--r-- | src/webpage.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/webpage.h b/src/webpage.h index d21fc44d..d1642966 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -36,11 +36,12 @@ // Qt Includes #include <QWebPage> +#include <QUrl> // Forward Declarations class QWebFrame; class QNetworkReply; - +class QUrl; class WebPage : public QWebPage { @@ -48,7 +49,8 @@ class WebPage : public QWebPage public: explicit WebPage(QObject *parent = 0); - + ~WebPage(); + public slots: void manageNetworkErrors(QNetworkReply* reply); @@ -60,9 +62,6 @@ protected: const QNetworkRequest &request, NavigationType type); - QString chooseFile(QWebFrame *frame, - const QString &suggestedFile); - void javaScriptAlert(QWebFrame *frame, const QString &msg); @@ -84,12 +83,13 @@ protected Q_SLOTS: private: friend class WebView; - - void viewErrorPage(QNetworkReply *); + QString errorPage(QNetworkReply *); // keyboard/mouse modifiers Qt::KeyboardModifiers m_keyboardModifiers; Qt::MouseButtons m_pressedButtons; + + QUrl m_requestedUrl; }; #endif |