summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-07 11:16:51 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-07 11:16:51 +0200
commit9cab6e02598d710e83992610e910acd06c2e2576 (patch)
tree6e103d52edea8b70896083ee2b74197281770787 /src/webview.cpp
parentupdated french translation (diff)
downloadrekonq-9cab6e02598d710e83992610e910acd06c2e2576.tar.xz
EBN Krazy issues. 3rd round... First chech finished!
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index c90b65d5..a8efaa2d 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -45,10 +45,22 @@
#include <KToolInvocation>
// Qt Includes
-#include <QtCore>
-#include <QtGui>
-#include <QtWebKit>
-#include <QUiLoader>
+#include <QtGui/QContextMenuEvent>
+#include <QtGui/QWheelEvent>
+#include <QtGui/QMouseEvent>
+#include <QtGui/QClipboard>
+#include <QtGui/QKeyEvent>
+
+#include <QtNetwork/QNetworkReply>
+#include <QtNetwork/QNetworkRequest>
+
+#include <QtWebKit/QWebFrame>
+#include <QtWebKit/QWebHitTestResult>
+#include <QtWebKit/QWebPage>
+#include <QtWebKit/QWebSettings>
+#include <QtWebKit/QWebView>
+
+#include <QtUiTools/QUiLoader>
WebPage::WebPage(QObject *parent)
@@ -210,7 +222,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
{
path = QString("http://doc.trolltech.com/4.5/%1.html").arg(className);
}
- QUrl url(path);
+ KUrl url(path);
Application::instance()->mainWindow()->loadUrl(url);
return;