QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsGeoNodeConnection Class Reference

Encapsulates settings related to a single GeoNode connection. More...

#include <qgsgeonodeconnection.h>

Public Member Functions

 QgsGeoNodeConnection (const QString &name)
 Constructor for a QgsGeoNodeConnection with the specified name. More...
 
QgsDataSourceUriaddWcsConnectionSettings (QgsDataSourceUri &uri) const
 Adds uri parameters relating to the settings for a WCS layer on the connection to a QgsDataSourceUri uri. More...
 
QgsDataSourceUriaddWfsConnectionSettings (QgsDataSourceUri &uri) const
 Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri. More...
 
QgsDataSourceUriaddWmsConnectionSettings (QgsDataSourceUri &uri) const
 Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri. More...
 
QString connectionName () const
 Returns the name of the connection. More...
 
void setConnectionName (const QString &connectionName)
 Sets the name of the connection. More...
 
void setUri (const QgsDataSourceUri &uri)
 Sets the uri for the GeoNode connection. More...
 
QgsDataSourceUri uri () const
 Returns the URI for the GeoNode connection. More...
 

Detailed Description

Encapsulates settings related to a single GeoNode connection.

Since
QGIS 3.0

Definition at line 64 of file qgsgeonodeconnection.h.

Constructor & Destructor Documentation

◆ QgsGeoNodeConnection()

QgsGeoNodeConnection::QgsGeoNodeConnection ( const QString &  name)
explicit

Constructor for a QgsGeoNodeConnection with the specified name.

Definition at line 24 of file qgsgeonodeconnection.cpp.

Member Function Documentation

◆ addWcsConnectionSettings()

QgsDataSourceUri & QgsGeoNodeConnection::addWcsConnectionSettings ( QgsDataSourceUri uri) const

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

See also
addWmsConnectionSettings()
Since
QGIS 3.20

Definition at line 79 of file qgsgeonodeconnection.cpp.

◆ addWfsConnectionSettings()

QgsDataSourceUri & QgsGeoNodeConnection::addWfsConnectionSettings ( QgsDataSourceUri uri) const

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

See also
addWmsConnectionSettings()

Definition at line 73 of file qgsgeonodeconnection.cpp.

◆ addWmsConnectionSettings()

QgsDataSourceUri & QgsGeoNodeConnection::addWmsConnectionSettings ( QgsDataSourceUri uri) const

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

See also
addWfsConnectionSettings()

Definition at line 67 of file qgsgeonodeconnection.cpp.

◆ connectionName()

QString QgsGeoNodeConnection::connectionName ( ) const

Returns the name of the connection.

See also
setConnectionName()

Definition at line 52 of file qgsgeonodeconnection.cpp.

◆ setConnectionName()

void QgsGeoNodeConnection::setConnectionName ( const QString &  connectionName)

Sets the name of the connection.

See also
connectionName()

Definition at line 57 of file qgsgeonodeconnection.cpp.

◆ setUri()

void QgsGeoNodeConnection::setUri ( const QgsDataSourceUri uri)

Sets the uri for the GeoNode connection.

See also
uri()

Definition at line 62 of file qgsgeonodeconnection.cpp.

◆ uri()

QgsDataSourceUri QgsGeoNodeConnection::uri ( ) const

Returns the URI for the GeoNode connection.

See also
setUri()

Definition at line 47 of file qgsgeonodeconnection.cpp.


The documentation for this class was generated from the following files: