diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 16:47:37 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-25 16:47:37 +0200 |
commit | 974058301ed0911bc8bd15a957548ce0771851aa (patch) | |
tree | 012b05f163a3c1c84d99af97db8edb614bb75394 /src/webview.h | |
parent | Fixing CMakelists.txt's (diff) | |
download | rekonq-974058301ed0911bc8bd15a957548ce0771851aa.tar.xz |
WebkitKDE porting.
I'm working on a big refactoring of the webview/webpage classes.
This is (obviously) a work in progress.
Perhaps ~50% of the porting..
Diffstat (limited to 'src/webview.h')
-rw-r--r-- | src/webview.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/webview.h b/src/webview.h index 19fd9517..ab69f799 100644 --- a/src/webview.h +++ b/src/webview.h @@ -32,6 +32,7 @@ // Qt Includes #include <QWebPage> +#include <QWebView> // Forward Declarations class MainWindow; @@ -45,10 +46,6 @@ class QMouseEvent; class QNetworkProxy; class QNetworkReply; class QSslError; -class WebPage; - -// Qt Includes -#include <QWebView> class WebView : public KWebView @@ -56,7 +53,7 @@ class WebView : public KWebView Q_OBJECT public: - WebView(QWidget *parent = 0); + explicit WebView(QWidget *parent = 0); KUrl url() const; QString lastStatusBarText() const; @@ -71,10 +68,9 @@ signals: void shiftCtrlTabPressed(); protected: - void mousePressEvent(QMouseEvent *event); - void mouseReleaseEvent(QMouseEvent *event); +// void mousePressEvent(QMouseEvent *event); +// void mouseReleaseEvent(QMouseEvent *event); void contextMenuEvent(QContextMenuEvent *event); - void wheelEvent(QWheelEvent *event); /** * Filters (SHIFT + ) CTRL + TAB events and emit (shift)ctrlTabPressed() @@ -89,8 +85,9 @@ private slots: void setProgress(int progress); void loadFinished(); void setStatusBarText(const QString &string); - void downloadRequested(const QNetworkRequest &request); - void openLinkInNewTab(); + +// void downloadRequested(const QNetworkRequest &request); +// void open LinkInNewTab(); private: WebPage *m_page; |