diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-11 02:14:26 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-13 02:50:36 +0100 |
commit | 04a0850cb6f7750859a10ea3fe3c7a48e94728dc (patch) | |
tree | 9cba4c0b947e1b6b155f57ea2a80b56e547f080c /src/webpage.h | |
parent | Finally remembered to fix urlbar (diff) | |
download | rekonq-04a0850cb6f7750859a10ea3fe3c7a48e94728dc.tar.xz |
Moving to kdewebkit.
First step
Diffstat (limited to 'src/webpage.h')
-rw-r--r-- | src/webpage.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/webpage.h b/src/webpage.h index 45fc0c51..725788ee 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -32,22 +32,23 @@ #define WEBPAGE_H +// KDE Includes +#include <KWebPage> + // Qt Includes -#include <QWebPage> #include <QUrl> // Forward Declarations class QWebFrame; class QNetworkReply; -class QUrl; -class WebPage : public QWebPage +class WebPage : public KWebPage { Q_OBJECT public: - explicit WebPage(QObject *parent = 0); + explicit WebPage(QObject *parent = 0, qlonglong windowId = 0); ~WebPage(); public slots: @@ -59,13 +60,10 @@ protected: virtual bool acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, - NavigationType type); - - virtual QString userAgentForUrl(const QUrl& url) const; + NavigationType type);// protected Q_SLOTS: virtual void handleUnsupportedContent(QNetworkReply *reply); - virtual void downloadRequested(const QNetworkRequest &request); private: friend class WebView; |