From e6752ba908497ae0c3756315b75509efb2fdbf26 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 23 May 2009 01:28:39 +0200 Subject: splitted web classes --- src/webview.h | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) (limited to 'src/webview.h') diff --git a/src/webview.h b/src/webview.h index eff5f98b..cef46a80 100644 --- a/src/webview.h +++ b/src/webview.h @@ -45,40 +45,7 @@ class QMouseEvent; class QNetworkProxy; class QNetworkReply; class QSslError; - - -class WebPage : public KWebPage -{ - Q_OBJECT - -signals: - void loadingUrl(const QUrl &url); // WARNING has to be QUrl!! - -public: - WebPage(QObject *parent = 0); - - -protected: - bool acceptNavigationRequest(QWebFrame *frame, - const QNetworkRequest &request, - NavigationType type); - - KWebPage *createWindow(QWebPage::WebWindowType type); - -private slots: - void handleUnsupportedContent(QNetworkReply *reply); - -private: - friend class WebView; - - // set the webview mousepressedevent - Qt::KeyboardModifiers m_keyboardModifiers; - Qt::MouseButtons m_pressedButtons; - KUrl m_loadingUrl; -}; - - -// ---------------------------------------------------------------------------------------------------- +class WebPage; // Qt Includes #include -- cgit v1.2.1