mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
31 lines
827 B
Plaintext
31 lines
827 B
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();
|
||
|
|
||
|
static QStringList connectionList( const QString & theService );
|
||
|
|
||
|
static void deleteConnection( const QString & theService, const QString & name );
|
||
|
|
||
|
static QString selectedConnection( const QString & theService );
|
||
|
static void setSelectedConnection( const QString & theService, const QString & name );
|
||
|
|
||
|
public:
|
||
|
//QgsDataProvider *provider();
|
||
|
QString connectionInfo();
|
||
|
QString mConnName;
|
||
|
QString mConnectionInfo;
|
||
|
QgsDataSourceURI uri();
|
||
|
};
|