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