QGIS API Documentation  3.6.0-Noosa (5873452)
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...
 
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 28 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 25 of file qgsgeonodeconnection.cpp.

Member Function Documentation

◆ 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 79 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 74 of file qgsgeonodeconnection.cpp.

◆ connectionName()

QString QgsGeoNodeConnection::connectionName ( ) const

Returns the name of the connection.

See also
setConnectionName()

Definition at line 59 of file qgsgeonodeconnection.cpp.

◆ setConnectionName()

void QgsGeoNodeConnection::setConnectionName ( const QString &  connectionName)

Sets the name of the connection.

See also
connectionName()

Definition at line 64 of file qgsgeonodeconnection.cpp.

◆ setUri()

void QgsGeoNodeConnection::setUri ( const QgsDataSourceUri uri)

Sets the uri for the GeoNode connection.

See also
uri()

Definition at line 69 of file qgsgeonodeconnection.cpp.

◆ uri()

QgsDataSourceUri QgsGeoNodeConnection::uri ( ) const

Returns the URI for the GeoNode connection.

See also
setUri()

Definition at line 54 of file qgsgeonodeconnection.cpp.


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