18 #ifndef QGSNETWORKACCESSMANAGER_H
19 #define QGSNETWORKACCESSMANAGER_H
22 #include <QStringList>
23 #include <QNetworkAccessManager>
24 #include <QNetworkProxy>
25 #include <QNetworkRequest>
56 #if QT_VERSION >= 0x40500
58 void insertProxyFactory( QNetworkProxyFactory *factory );
61 void removeProxyFactory( QNetworkProxyFactory *factory );
64 const QList<QNetworkProxyFactory *> proxyFactories()
const;
68 const QNetworkProxy &fallbackProxy()
const;
71 const QStringList &excludeList()
const;
74 void setFallbackProxyAndExcludes(
const QNetworkProxy &proxy,
const QStringList &excludes );
77 static QString cacheLoadControlName( QNetworkRequest::CacheLoadControl theControl );
80 static QNetworkRequest::CacheLoadControl cacheLoadControlFromName(
const QString &theName );
83 void requestAboutToBeCreated( QNetworkAccessManager::Operation,
const QNetworkRequest &, QIODevice * );
84 void requestCreated( QNetworkReply * );
90 virtual QNetworkReply *createRequest( QNetworkAccessManager::Operation op,
const QNetworkRequest &req, QIODevice *outgoingData = 0 );
94 #if QT_VERSION >= 0x40500
95 QList<QNetworkProxyFactory*> mProxyFactories;
103 #endif // QGSNETWORKACCESSMANAGER_H