21#ifndef QGSHTTPHEADERS_H
22#define QGSHTTPHEADERS_H
96 QVariantMap headers()
const {
return mHeaders;}
114 bool updateNetworkRequest( QNetworkRequest &request ) const;
120 bool updateUrlQuery( QUrlQuery &uri ) const;
129 bool updateMap( QVariantMap &map ) const;
138 bool updateDomElement( QDomElement &el ) const;
148 void setFromSettings( const
QgsSettings &settings, const QString &key = QString() );
154 void setFromUrlQuery( const QUrlQuery &uri );
163 void setFromMap( const QVariantMap &map );
172 void setFromDomElement( const QDomElement &element );
178 QString sanitizeKey( const QString &key ) const;
184 QVariant &operator[]( const QString &key );
193 void insert( const QString &key, const QVariant &value );
198 QList<QString> keys() const;
201 QString toSpacedString() const;
209 const QVariant operator[](
const QString &key )
const;
213 QMap<QString, QVariant> mHeaders;
This class is a composition of two QSettings instances: