|
| 1 | +/************************************************************************ |
| 2 | + * This file has been generated automatically from * |
| 3 | + * * |
| 4 | + * src/core/geocms/geonode/qgsgeonodeconnection.h * |
| 5 | + * * |
| 6 | + * Do not edit manually ! Edit header and run scripts/sipify.pl again * |
| 7 | + ************************************************************************/ |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +class QgsGeoNodeConnection |
| 12 | +{ |
| 13 | +%Docstring |
| 14 | + Encapsulates settings related to a single GeoNode connection. |
| 15 | +.. versionadded:: 3.0 |
| 16 | +%End |
| 17 | + |
| 18 | +%TypeHeaderCode |
| 19 | +#include "qgsgeonodeconnection.h" |
| 20 | +%End |
| 21 | + public: |
| 22 | + |
| 23 | + explicit QgsGeoNodeConnection( const QString &name ); |
| 24 | +%Docstring |
| 25 | + Constructor for a QgsGeoNodeConnection with the specified ``name``. |
| 26 | +%End |
| 27 | + |
| 28 | + QString connectionName() const; |
| 29 | +%Docstring |
| 30 | + Returns the name of the connection. |
| 31 | +.. seealso:: setConnectionName() |
| 32 | + :rtype: str |
| 33 | +%End |
| 34 | + |
| 35 | + void setConnectionName( const QString &connectionName ); |
| 36 | +%Docstring |
| 37 | + Sets the ``name`` of the connection. |
| 38 | +.. seealso:: connectionName() |
| 39 | +%End |
| 40 | + |
| 41 | + QgsDataSourceUri uri() const; |
| 42 | +%Docstring |
| 43 | + Returns the URI for the GeoNode connection. |
| 44 | +.. seealso:: setUri() |
| 45 | + :rtype: QgsDataSourceUri |
| 46 | +%End |
| 47 | + |
| 48 | + void setUri( const QgsDataSourceUri &uri ); |
| 49 | +%Docstring |
| 50 | + Sets the ``uri`` for the GeoNode connection. |
| 51 | +.. seealso:: uri() |
| 52 | +%End |
| 53 | + |
| 54 | + QgsDataSourceUri &addWmsConnectionSettings( QgsDataSourceUri &uri ) const; |
| 55 | +%Docstring |
| 56 | + Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri ``uri``. |
| 57 | +.. seealso:: addWmsWcsConnectionSettings() |
| 58 | + :rtype: QgsDataSourceUri |
| 59 | +%End |
| 60 | + |
| 61 | + QgsDataSourceUri &addWfsConnectionSettings( QgsDataSourceUri &uri ) const; |
| 62 | +%Docstring |
| 63 | + Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri ``uri``. |
| 64 | +.. seealso:: addWmsWcsConnectionSettings() |
| 65 | + :rtype: QgsDataSourceUri |
| 66 | +%End |
| 67 | + |
| 68 | +}; |
| 69 | + |
| 70 | +class QgsGeoNodeConnectionUtils |
| 71 | +{ |
| 72 | +%Docstring |
| 73 | + Contains various utilities for managing the known collection of |
| 74 | + GeoNode servers associated with a QGIS install. |
| 75 | +.. versionadded:: 3.0 |
| 76 | +%End |
| 77 | + |
| 78 | +%TypeHeaderCode |
| 79 | +#include "qgsgeonodeconnection.h" |
| 80 | +%End |
| 81 | + public: |
| 82 | + |
| 83 | + static QStringList connectionList(); |
| 84 | +%Docstring |
| 85 | + Returns a list of all known GeoNode connection names. |
| 86 | + :rtype: list of str |
| 87 | +%End |
| 88 | + |
| 89 | + static void deleteConnection( const QString &name ); |
| 90 | +%Docstring |
| 91 | + Deletes the GeoNode connection with matching ``name``. |
| 92 | +%End |
| 93 | + |
| 94 | + static QString pathGeoNodeConnection(); |
| 95 | +%Docstring |
| 96 | + Returns the base path for settings related to GeoNode connections. |
| 97 | + :rtype: str |
| 98 | +%End |
| 99 | + |
| 100 | + static QString pathGeoNodeConnectionDetails(); |
| 101 | +%Docstring |
| 102 | + Returns the base path for settings related to GeoNode connection details. |
| 103 | + :rtype: str |
| 104 | +%End |
| 105 | + |
| 106 | +}; |
| 107 | + |
| 108 | + |
| 109 | +/************************************************************************ |
| 110 | + * This file has been generated automatically from * |
| 111 | + * * |
| 112 | + * src/core/geocms/geonode/qgsgeonodeconnection.h * |
| 113 | + * * |
| 114 | + * Do not edit manually ! Edit header and run scripts/sipify.pl again * |
| 115 | + ************************************************************************/ |
0 commit comments