From 3aa17f3d2d6b2e40da55456d2c7336abbb1df3b5 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 10 Jan 2010 12:55:58 +0100 Subject: Protocol Handling fix We can now manage all the most important protocols :D --- src/protocolhandler.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/protocolhandler.h') 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 &); -- cgit v1.2.1