diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-10 23:05:09 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-10 23:05:09 +0100 |
commit | 0b8ee38c5326fa668906a3f66a959423d84f85d1 (patch) | |
tree | e75718b97e13b303ca16d4461a2b7b893a6f9f78 /src/webview.cpp | |
parent | Updating CMakeLists.txt (diff) | |
download | rekonq-0b8ee38c5326fa668906a3f66a959423d84f85d1.tar.xz |
Some fixes
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 20 |
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 ¶mNames, const QStringList ¶mValues) -// { -// 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 ¶mNames, const QStringList ¶mValues) +{ + 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) |