diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-22 15:42:00 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-22 15:42:00 +0200 |
commit | d361249be9ec31d575713739f032394383052705 (patch) | |
tree | a2adff3e2972cecdb26f01a0243c3fc08f004c40 /src/webview.h | |
parent | CMakeLists.. (diff) | |
download | rekonq-d361249be9ec31d575713739f032394383052705.tar.xz |
Compiles && link with webkitKDE modulo the load method
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/webview.h b/src/webview.h index eba02505..6cddf77f 100644 --- a/src/webview.h +++ b/src/webview.h @@ -27,6 +27,9 @@ // KDE Includes #include <KUrl> +#include <kdewebkit/kwebpage.h> +#include <kdewebkit/kwebview.h> + // Qt Includes #include <QWebPage> @@ -44,7 +47,7 @@ class QNetworkReply; class QSslError; -class WebPage : public QWebPage +class WebPage : public KWebPage { Q_OBJECT @@ -60,7 +63,7 @@ protected: const QNetworkRequest &request, NavigationType type); - QWebPage *createWindow(QWebPage::WebWindowType type); + KWebPage *createWindow(QWebPage::WebWindowType type); QObject *createPlugin(const QString &classId, const QUrl &url, const QStringList ¶mNames, @@ -85,7 +88,7 @@ private: #include <QWebView> -class WebView : public QWebView +class WebView : public KWebView { Q_OBJECT @@ -130,4 +133,3 @@ private: }; #endif - |