summaryrefslogtreecommitdiff
path: root/src/webview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-11 00:55:47 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-11 00:55:47 +0100
commitb5044060c9263d223c99055b9bd6b93c9fb966c7 (patch)
treed388ff7ffb5034768889b02bfffe8687d05a0172 /src/webview.h
parentSome fixes on MainWindow (diff)
downloadrekonq-b5044060c9263d223c99055b9bd6b93c9fb966c7.tar.xz
Forwarding class declarations to speed up compilation..
Diffstat (limited to 'src/webview.h')
-rw-r--r--src/webview.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/webview.h b/src/webview.h
index 6892fbd4..b3d6ca1b 100644
--- a/src/webview.h
+++ b/src/webview.h
@@ -21,19 +21,21 @@
#ifndef WEBVIEW_H
#define WEBVIEW_H
+// KDE Includes
#include <KUrl>
-#include <QWebView>
+// Qt Includes
+#include <QWebPage>
+
+// Forward Declarations
+class MainWindow;
-QT_BEGIN_NAMESPACE
+class QWebFrame;
class QAuthenticator;
class QMouseEvent;
class QNetworkProxy;
class QNetworkReply;
class QSslError;
-QT_END_NAMESPACE
-
-class MainWindow;
class WebPage : public QWebPage
@@ -68,6 +70,9 @@ private:
// ---------------------------------------------------------------------------------------------------------------------------------------
+// Qt Includes
+#include <QWebView>
+
class WebView : public QWebView
{