summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-23 01:22:31 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-23 01:22:31 +0200
commit2e66b40db71b99220754c126a8e4e3606c3505f2 (patch)
tree4e1ef645560eb196628f3adadcf1fea7c2aa7267 /src/webview.cpp
parentAccess Manager Porting. Compiles && links (diff)
downloadrekonq-2e66b40db71b99220754c126a8e4e3606c3505f2.tar.xz
Fixing new AccessManager. Removed webpage createPlugin slot
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 1e713f5a..6887c29b 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -63,7 +63,7 @@
#include <QtWebKit/QWebSettings>
#include <QtWebKit/QWebView>
-#include <QtUiTools/QUiLoader>
+// #include <QtUiTools/QUiLoader>
WebPage::WebPage(QObject *parent)
@@ -78,11 +78,6 @@ WebPage::WebPage(QObject *parent)
}
-WebPage::~WebPage()
-{
-}
-
-
bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &request, NavigationType type)
{
QString scheme = request.url().scheme();
@@ -197,19 +192,6 @@ KWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
}
-QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
-{
- kDebug() << "creating PLUGIN for rekonq ";
- kDebug() << "classId = " << classId;
- kDebug() << "url = " << url;
- kDebug() << "Param Names = " << paramNames;
- kDebug() << "Param Values = " << paramValues;
-
- QUiLoader loader;
- return loader.createWidget(classId, view());
-}
-
-
void WebPage::handleUnsupportedContent(QNetworkReply *reply)
{
// create convenience fake api:// protocol for KDE apidox search and Qt docs