diff options
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; }; |