QGIS/python/core/qgsowsconnection.sip
Nyall Dawson 4cfacf14e3 Make API more consistent
- rename methods with XML to Xml, CRS to Crs, WMS to Wms, ID to Id
- rename methods with SRS to Crs
- rename methods with abbreviations like "dest" to "destination"
- rename methods with abbreviations like "src" to "source"
2016-07-21 08:40:50 +10:00

37 lines
1.2 KiB
Plaintext

class QgsOwsConnection : QObject
{
%TypeHeaderCode
#include <qgsowsconnection.h>
%End
public:
/**
* Constructor
* @param theService service name: WMS,WFS,WCS
* @param theConnName connection name
*/
QgsOwsConnection( const QString & theService, const QString & theConnName );
//! Destructor
~QgsOwsConnection();
/** Returns the list of connections for the specified service */
static QStringList connectionList( const QString & theService );
/** Deletes the connection for the specified service with the specified name */
static void deleteConnection( const QString & theService, const QString & name );
/** Retreives the selected connection for the specified service */
static QString selectedConnection( const QString & theService );
/** Marks the specified connection for the specified service as selected */
static void setSelectedConnection( const QString & theService, const QString & name );
QString mConnName;
/** Returns the connection uri */
QgsDataSourceURI uri() const;
QString mConnectionInfo;
//! @deprecated use mConnectionInfo instead
QString connectionInfo() /Deprecated/;
};