22 #ifndef QGSOWSCONNECTION_H
23 #define QGSOWSCONNECTION_H
25 #include "qgis_core.h"
30 #include <QStringList>
31 #include <QPushButton>
64 static const inline QgsSettingsEntryGroup settingsServiceConnectionDetailsGroup =
QgsSettingsEntryGroup( {&settingsConnectionUrl, &settingsConnectionReferer, &
settingsConnectionVersion, &settingsConnectionIgnoreGetMapURI, &settingsConnectionIgnoreGetFeatureInfoURI, &settingsConnectionSmoothPixmapTransform, &settingsConnectionReportedLayerExtents, &settingsConnectionDpiMode, &settingsConnectionMaxNumFeatures, &settingsConnectionPagesize, &settingsConnectionPagingEnabled, &settingsConnectionPreferCoordinatesForWfsT11, &settingsConnectionIgnoreAxisOrientation, &settingsConnectionInvertAxisOrientation} );
78 QString connectionName()
const;
84 QString connectionInfo()
const;
90 QString service()
const;
128 static QStringList connectionList(
const QString &service );
131 static void deleteConnection(
const QString &service,
const QString &name );
134 static QString selectedConnection(
const QString &service );
136 static void setSelectedConnection(
const QString &service,
const QString &name );
145 QString mConnectionInfo;
147 Q_DECL_DEPRECATED
static void addCommonConnectionSettings(
QgsDataSourceUri &uri,
const QString &settingsKey );
148 static void addCommonConnectionSettings(
QgsDataSourceUri &uri,
const QString &service,
const QString &connectionName );
153 #endif // QGSOWSCONNECTION_H