summaryrefslogtreecommitdiff
path: root/src/webtab/protocolhandler.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-08-01 12:24:32 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:04 +0100
commite473d62586b7d31c281d5fa15a7cd98f9024190a (patch)
treef24f6f1582e9ade2786ce9b3a1c41781a1d8a465 /src/webtab/protocolhandler.h
parentFix use of webpage (diff)
downloadrekonq-e473d62586b7d31c281d5fa15a7cd98f9024190a.tar.xz
Remove a lot of application calls by refactoring code
Diffstat (limited to 'src/webtab/protocolhandler.h')
-rw-r--r--src/webtab/protocolhandler.h6
1 files changed, 6 insertions, 0 deletions
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 <QObject>
// 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