/*************************************************************************** networkaccessmanager.hpp - description ------------------- begin : Mon Sep 15 2008 copyright : (C) 2008 by Krippel Harald email : harald@hte-develop.net ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef NETWORKACCESSMANAGER_H #define NETWORKACCESSMANAGER_H #include class NetworkAccessManager : public QNetworkAccessManager { Q_OBJECT public: NetworkAccessManager(QObject *parent = 0); public slots: void loadSettings(); private slots: void authenticationRequired(QNetworkReply *reply, QAuthenticator *auth); void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth); #ifndef QT_NO_OPENSSL void sslErrors(QNetworkReply *reply, const QList &error); #endif }; #endif // NETWORKACCESSMANAGER_H