diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-30 10:26:43 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-30 10:26:43 +0100 |
commit | 88bde6fd1e73f30a9bdb1da5fd4bd24aeb84266b (patch) | |
tree | d002a585d5a889c5e5df8ea8ab83ec8a04e2e59a /src/webpage.cpp | |
parent | Restored QWebElementCollection (diff) | |
download | rekonq-88bde6fd1e73f30a9bdb1da5fd4bd24aeb84266b.tar.xz |
Porting rekonq to last Qt/KDE API
adblock (KDE one) fix #1
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r-- | src/webpage.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index edb7902f..0f214b6d 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -41,6 +41,7 @@ #include "mainview.h" #include "webview.h" #include "webpluginfactory.h" +#include "networkaccessmanager.h" // KDE Includes #include <KStandardDirs> @@ -65,14 +66,16 @@ #include <QtGui/QKeyEvent> -WebPage::WebPage(QObject *parent, qlonglong windowId) - : KWebPage(parent, windowId) +WebPage::WebPage(QObject *parent) + : KWebPage(parent, KWalletIntegration) , m_keyboardModifiers(Qt::NoModifier) , m_pressedButtons(Qt::NoButton) { + // rekonq own classes integration + setNetworkAccessManager(new NetworkAccessManager(this)); setPluginFactory(new WebPluginFactory(this)); - setForwardUnsupportedContent(true); +// FIXME setForwardUnsupportedContent(true); connect(networkAccessManager(), SIGNAL(finished(QNetworkReply*)), this, SLOT(manageNetworkErrors(QNetworkReply*))); |