QgsGeoNodeConnection class

Encapsulates settings related to a single GeoNode connection.

Constructors, destructors, conversion operators

QgsGeoNodeConnection(const QString& name) explicit
Constructor for a QgsGeoNodeConnection with the specified name.

Public functions

auto addWfsConnectionSettings(QgsDataSourceUri& uri) const -> QgsDataSourceUri&
Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri.
auto addWmsConnectionSettings(QgsDataSourceUri& uri) const -> QgsDataSourceUri&
Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri.
auto connectionName() const -> QString
Returns the name of the connection.
void setConnectionName(const QString& connectionName)
Sets the name of the connection.
void setUri(const QgsDataSourceUri& uri)
Sets the uri for the GeoNode connection.
auto uri() const -> QgsDataSourceUri
Returns the URI for the GeoNode connection.

Function documentation

QgsDataSourceUri& QgsGeoNodeConnection::addWfsConnectionSettings(QgsDataSourceUri& uri) const

Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri.

QgsDataSourceUri& QgsGeoNodeConnection::addWmsConnectionSettings(QgsDataSourceUri& uri) const

Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri.

QString QgsGeoNodeConnection::connectionName() const

Returns the name of the connection.

void QgsGeoNodeConnection::setConnectionName(const QString& connectionName)

Sets the name of the connection.

void QgsGeoNodeConnection::setUri(const QgsDataSourceUri& uri)

Sets the uri for the GeoNode connection.

QgsDataSourceUri QgsGeoNodeConnection::uri() const

Returns the URI for the GeoNode connection.