From e473d62586b7d31c281d5fa15a7cd98f9024190a Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 1 Aug 2012 12:24:32 +0200 Subject: Remove a lot of application calls by refactoring code --- src/webtab/protocolhandler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/webtab/protocolhandler.h') diff --git a/src/webtab/protocolhandler.h b/src/webtab/protocolhandler.h index f35fdcc6..c4bc6faf 100644 --- a/src/webtab/protocolhandler.h +++ b/src/webtab/protocolhandler.h @@ -38,6 +38,8 @@ #include // Forward Declarations +class WebWindow; + class KDirLister; class KFileItemList; class KJob; @@ -65,6 +67,8 @@ public: */ bool postHandling(const QNetworkRequest &request, QWebFrame *frame); + void setWindow(WebWindow *); + Q_SIGNALS: void downloadUrl(const KUrl &); @@ -78,6 +82,8 @@ private: KDirLister *_lister; QWebFrame *_frame; KUrl _url; + + WebWindow *_webwin; }; #endif // PROTOCOL_HANDLER_H -- cgit v1.2.1