| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   32   if ( !username.isEmpty() )
 
   39   if ( !authcfg.isEmpty() )
 
   69   QString detailedConnectionName = QStringLiteral( 
"%1/wms" ).arg( mConnName );
 
   75   QString detailedConnectionName = QStringLiteral( 
"%1/wfs" ).arg( mConnName );
 
   81   QString detailedConnectionName = QStringLiteral( 
"%1/wcs" ).arg( mConnName );
 
   94   settings.
beginGroup( QStringLiteral( 
"qgis/connections-geonode" ) );
 
  
Class for storing the component parts of a RDBMS data source URI (e.g. a Postgres data source).
 
static void deleteConnection(const QString &name)
Deletes the GeoNode connection with matching name.
 
static const QgsSettingsEntryString settingsConnectionUsername
 
#define QgsDebugMsgLevel(str, level)
 
void setConnectionName(const QString &connectionName)
Sets the name of the connection.
 
static const QgsSettingsEntryString settingsConnectionAuthCfg
 
static const QgsSettingsEntryString settingsConnectionUrl
 
static QString pathGeoNodeConnection()
Returns the base path for settings related to GeoNode connections.
 
This class is a composition of two QSettings instances:
 
QgsDataSourceUri & addWfsConnectionSettings(QgsDataSourceUri &uri) const
Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri ...
 
static Q_DECL_DEPRECATED QgsDataSourceUri & addWfsConnectionSettings(QgsDataSourceUri &uri, const QString &settingsKey)
Adds uri parameters relating to the settings for a WFS connection to a QgsDataSourceUri uri.
 
QgsDataSourceUri & addWcsConnectionSettings(QgsDataSourceUri &uri) const
Adds uri parameters relating to the settings for a WCS layer on the connection to a QgsDataSourceUri ...
 
static QStringList connectionList()
Returns a list of all known GeoNode connection names.
 
void setUri(const QgsDataSourceUri &uri)
Sets the uri for the GeoNode connection.
 
void setUsername(const QString &username)
Sets the username for the URI.
 
static void deleteConnection(const QString &service, const QString &name)
Deletes the connection for the specified service with the specified name.
 
void setAuthConfigId(const QString &authcfg)
Sets the authentication configuration ID for the URI.
 
static Q_DECL_DEPRECATED QString pathGeoNodeConnectionDetails()
Returns the base path for settings related to GeoNode connection details.
 
static Q_DECL_DEPRECATED QgsDataSourceUri & addWmsWcsConnectionSettings(QgsDataSourceUri &uri, const QString &settingsKey)
Adds uri parameters relating to the settings for a WMS or WCS connection to a QgsDataSourceUri uri.
 
void setParam(const QString &key, const QString &value)
Sets a generic parameter value on the URI.
 
static const QgsSettingsEntryString settingsConnectionPassword
 
QgsDataSourceUri uri() const
Returns the URI for the GeoNode connection.
 
QByteArray encodedUri() const
Returns the complete encoded URI as a byte array.
 
void beginGroup(const QString &prefix, QgsSettings::Section section=QgsSettings::NoSection)
Appends prefix to the current group.
 
T value(const QString &dynamicKeyPart=QString()) const
Returns settings value.
 
QString connectionName() const
Returns the name of the connection.
 
QgsGeoNodeConnection(const QString &name)
Constructor for a QgsGeoNodeConnection with the specified name.
 
QgsDataSourceUri & addWmsConnectionSettings(QgsDataSourceUri &uri) const
Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri ...
 
void setPassword(const QString &password)
Sets the password for the URI.
 
static const QString sGeoNodeConnection
 
QStringList childGroups() const
Returns a list of all key top-level groups that contain keys that can be read using the QSettings obj...