summaryrefslogtreecommitdiff
path: root/src/protocolhandler.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-10 12:55:58 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-10 12:55:58 +0100
commit3aa17f3d2d6b2e40da55456d2c7336abbb1df3b5 (patch)
treec5ec4c7e78a27fedc32fb6257cd376a10209a7b1 /src/protocolhandler.h
parentfix crash on window close (diff)
downloadrekonq-3aa17f3d2d6b2e40da55456d2c7336abbb1df3b5.tar.xz
Protocol Handling fix
We can now manage all the most important protocols :D
Diffstat (limited to 'src/protocolhandler.h')
-rw-r--r--src/protocolhandler.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/protocolhandler.h b/src/protocolhandler.h
index 532bd9c9..6ae47b74 100644
--- a/src/protocolhandler.h
+++ b/src/protocolhandler.h
@@ -49,8 +49,18 @@ public:
ProtocolHandler(QObject *parent = 0);
~ProtocolHandler();
- bool handle(const QNetworkRequest &request, QWebFrame *frame);
+ /**
+ * This function handles all the protocols that have to be handled before
+ * WebKit does
+ */
+ bool preHandling(const QNetworkRequest &request, QWebFrame *frame);
+ /**
+ * This function handles all the protocols that have to be handled after
+ * WebKit tried to
+ */
+ bool postHandling(const QNetworkRequest &request, QWebFrame *frame);
+
signals:
void downloadUrl( const KUrl &);