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/webpage.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/webpage.h')
-rw-r--r-- | src/webpage.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/webpage.h b/src/webpage.h index cdb1d04f..87fd3549 100644 --- a/src/webpage.h +++ b/src/webpage.h @@ -51,11 +51,8 @@ class WebPage : public KWebPage { Q_OBJECT -signals: - void loadingUrl(const QUrl &url); // WARNING has to be QUrl!! - public: - WebPage(QObject *parent = 0); + explicit WebPage(QObject *parent = 0); protected: @@ -65,15 +62,15 @@ protected: KWebPage *createWindow(QWebPage::WebWindowType type); -private slots: - void handleUnsupportedContent(QNetworkReply *reply); +protected Q_SLOTS: + virtual void slotHandleUnsupportedContent(QNetworkReply *reply); private: friend class WebView; // set the webview mousepressedevent - Qt::KeyboardModifiers m_keyboardModifiers; - Qt::MouseButtons m_pressedButtons; +// Qt::KeyboardModifiers m_keyboardModifiers; +// Qt::MouseButtons m_pressedButtons; KUrl m_loadingUrl; }; |