QGIS API Documentation
3.0.2-Girona (307d082)
|
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... | |
QgsDataSourceUri & | addWfsConnectionSettings (QgsDataSourceUri &uri) const |
Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri. More... | |
QgsDataSourceUri & | addWmsConnectionSettings (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... | |
Encapsulates settings related to a single GeoNode connection.
Definition at line 28 of file qgsgeonodeconnection.h.
|
explicit |
Constructor for a QgsGeoNodeConnection with the specified name.
Definition at line 25 of file qgsgeonodeconnection.cpp.
QgsDataSourceUri & QgsGeoNodeConnection::addWfsConnectionSettings | ( | QgsDataSourceUri & | uri | ) | const |
Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri.
Definition at line 79 of file qgsgeonodeconnection.cpp.
QgsDataSourceUri & QgsGeoNodeConnection::addWmsConnectionSettings | ( | QgsDataSourceUri & | uri | ) | const |
Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri.
Definition at line 74 of file qgsgeonodeconnection.cpp.
QString QgsGeoNodeConnection::connectionName | ( | ) | const |
Returns the name of the connection.
Definition at line 59 of file qgsgeonodeconnection.cpp.
void QgsGeoNodeConnection::setConnectionName | ( | const QString & | connectionName | ) |
Sets the name of the connection.
Definition at line 64 of file qgsgeonodeconnection.cpp.
void QgsGeoNodeConnection::setUri | ( | const QgsDataSourceUri & | uri | ) |
Sets the uri for the GeoNode connection.
Definition at line 69 of file qgsgeonodeconnection.cpp.
QgsDataSourceUri QgsGeoNodeConnection::uri | ( | ) | const |
Returns the URI for the GeoNode connection.
Definition at line 54 of file qgsgeonodeconnection.cpp.