summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
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