QGIS/python/core/auto_generated/qgsowsconnection.sip.in

105 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-05-14 09:48:41 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsowsconnection.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsOwsConnection : QObject
{
2017-05-14 09:48:41 +02:00
%Docstring
Connections management
%End
2017-05-14 09:48:41 +02:00
%TypeHeaderCode
#include "qgsowsconnection.h"
%End
public:
2017-05-14 09:48:41 +02:00
QgsOwsConnection( const QString &service, const QString &connName );
%Docstring
2017-12-15 10:36:55 -04:00
Constructor
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param service: service name: WMS,WFS,WCS
:param connName: connection name
2017-05-14 09:48:41 +02:00
%End
2017-09-12 13:08:51 +10:00
QString connectionName() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the connection name.
2017-09-12 13:08:51 +10:00
.. versionadded:: 3.0
%End
QString connectionInfo() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns connection info string.
2017-09-12 13:08:51 +10:00
.. versionadded:: 3.0
%End
QString service() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns a string representing the service type, e.g. "WMS".
2017-09-12 13:08:51 +10:00
.. versionadded:: 3.0
%End
QgsDataSourceUri uri() const;
%Docstring
2017-12-15 10:36:55 -04:00
Returns the connection uri.
2017-09-12 13:08:51 +10:00
%End
static QgsDataSourceUri &addWmsWcsConnectionSettings( QgsDataSourceUri &uri, const QString &settingsKey );
%Docstring
2017-12-19 11:43:52 -04:00
Adds uri parameters relating to the settings for a WMS or WCS connection to a :py:class:`QgsDataSourceUri` ``uri``.
2017-12-15 10:36:55 -04:00
Connection settings are taken from the specified QSettings ``settingsKey``.
.. versionadded:: 3.0
%End
static QgsDataSourceUri &addWfsConnectionSettings( QgsDataSourceUri &uri, const QString &settingsKey );
%Docstring
2017-12-19 11:43:52 -04:00
Adds uri parameters relating to the settings for a WFS connection to a :py:class:`QgsDataSourceUri` ``uri``.
2017-12-15 10:36:55 -04:00
Connection settings are taken from the specified QSettings ``settingsKey``.
.. versionadded:: 3.0
%End
static QStringList connectionList( const QString &service );
2017-05-14 09:48:41 +02:00
%Docstring
Returns the list of connections for the specified service
%End
static void deleteConnection( const QString &service, const QString &name );
2017-05-14 09:48:41 +02:00
%Docstring
Deletes the connection for the specified service with the specified name
%End
static QString selectedConnection( const QString &service );
2017-05-14 09:48:41 +02:00
%Docstring
Retrieves the selected connection for the specified service
%End
static void setSelectedConnection( const QString &service, const QString &name );
2017-05-14 09:48:41 +02:00
%Docstring
Marks the specified connection for the specified service as selected
%End
2017-05-14 09:48:41 +02:00
protected:
2017-09-12 13:08:51 +10:00
};
2017-05-14 09:48:41 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsowsconnection.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/