QGIS/python/core/qgsowsconnection.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

35 lines
1.1 KiB
Plaintext

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