summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-10 23:05:09 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-10 23:05:09 +0100
commit0b8ee38c5326fa668906a3f66a959423d84f85d1 (patch)
treee75718b97e13b303ca16d4461a2b7b893a6f9f78 /src/webview.cpp
parentUpdating CMakeLists.txt (diff)
downloadrekonq-0b8ee38c5326fa668906a3f66a959423d84f85d1.tar.xz
Some fixes
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index e6748263..0c2e0b6e 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -111,19 +111,19 @@ QWebPage *WebPage::createWindow(QWebPage::WebWindowType type)
}
-// QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
-// {
-// kWarning() << "creating PLUGIN for rekonq ";
-// kWarning() << "classId = " << classId;
-// kWarning() << "url = " << url;
-// kWarning() << "Param Names = " << paramNames;
-// kWarning() << "Param Values = " << paramValues;
+QObject *WebPage::createPlugin(const QString &classId, const QUrl &url, const QStringList &paramNames, const QStringList &paramValues)
+{
+ kWarning() << "creating PLUGIN for rekonq ";
+ kWarning() << "classId = " << classId;
+ kWarning() << "url = " << url;
+ kWarning() << "Param Names = " << paramNames;
+ kWarning() << "Param Values = " << paramValues;
// Q_UNUSED(url);
// Q_UNUSED(paramNames);
// Q_UNUSED(paramValues);
-// QUiLoader loader;
-// return loader.createWidget(classId, view());
-// }
+ QUiLoader loader;
+ return loader.createWidget(classId, view());
+}
void WebPage::handleUnsupportedContent(QNetworkReply *reply)