summaryrefslogtreecommitdiff
path: root/src/protocolhandler.h
diff options
context:
space:
mode:
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 &);