29 #include <QInputDialog> 30 #include <QMessageBox> 35 #include <QNetworkRequest> 36 #include <QNetworkReply> 39 : mConnName( theConnName )
40 , mService( theService )
71 bool ignoreGetMap = settings.
value( key +
"/ignoreGetMapURI",
false ).
toBool();
72 bool ignoreGetFeatureInfo = settings.
value( key +
"/ignoreGetFeatureInfoURI",
false ).
toBool();
73 bool ignoreAxisOrientation = settings.
value( key +
"/ignoreAxisOrientation",
false ).
toBool();
74 bool invertAxisOrientation = settings.
value( key +
"/invertAxisOrientation",
false ).
toBool();
79 if ( ignoreGetFeatureInfo )
83 if ( ignoreAxisOrientation )
87 if ( invertAxisOrientation )
120 return settings.
value(
"/Qgis/connections-" + theService.
toLower() +
"/selected" ).toString();
133 settings.
remove(
"/Qgis/" + theService +
'/' + name );
QString & append(QChar ch)
static QString selectedConnection(const QString &theService)
Retreives the selected connection for the specified service.
static QStringList connectionList(const QString &theService)
Returns the list of connections for the specified service.
QgsOWSConnection(const QString &theService, const QString &theConnName)
Constructor.
static void setSelectedConnection(const QString &theService, const QString &name)
Marks the specified connection for the specified service as selected.
void setValue(const QString &key, const QVariant &value)
const char * name() const
static void deleteConnection(const QString &theService, const QString &name)
Deletes the connection for the specified service with the specified name.
void setParam(const QString &key, const QString &value)
Set generic param (generic mode)
QStringList childGroups() const
Q_DECL_DEPRECATED QString connectionInfo()
Class for storing the component parts of a PostgreSQL/RDBMS datasource URI.
void remove(const QString &key)
QByteArray encodedUri() const
return complete encoded uri (generic mode)
QVariant value(const QString &key, const QVariant &defaultValue) const
~QgsOWSConnection()
Destructor.
void beginGroup(const QString &prefix)
QgsDataSourceURI uri() const
Returns the connection uri.