diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-22 16:07:36 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-22 16:07:36 +0200 |
commit | b487c807711cfee057e522eda9f578c5e8a8d54f (patch) | |
tree | 99fed5698b5b761f9438933ac6a9f085f23b7d8a /src/networkaccessmanager.h | |
parent | Compiles && link with webkitKDE modulo the load method (diff) | |
download | rekonq-b487c807711cfee057e522eda9f578c5e8a8d54f.tar.xz |
Access Manager Porting. Compiles && links
Diffstat (limited to 'src/networkaccessmanager.h')
-rw-r--r-- | src/networkaccessmanager.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h index 7da2f54f..a61a3483 100644 --- a/src/networkaccessmanager.h +++ b/src/networkaccessmanager.h @@ -22,20 +22,28 @@ #ifndef NETWORKACCESSMANAGER_H #define NETWORKACCESSMANAGER_H -// Qt Includes -#include <QtNetwork/QNetworkAccessManager> +// KDE Includes +#include <KIO/AccessManager> +class QNetworkRequest; +class QIODevice; -class NetworkAccessManager : public QNetworkAccessManager +using namespace KIO; + +class NetworkAccessManager : public AccessManager { Q_OBJECT public: NetworkAccessManager(QObject *parent = 0); + ~NetworkAccessManager(); public slots: void loadSettings(); +protected: + QNetworkReply *createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData = 0); + private slots: void authenticationRequired(QNetworkReply *reply, QAuthenticator *auth); void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth); |