QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
core
qgsowsconnection.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsowsconnection.h - OWS connection
3
-------------------
4
begin : 3 April 2005
5
original : (C) 2005 by Brendan Morley email : morb at ozemail dot com dot au
6
wms search : (C) 2009 Mathias Walker <mwa at sourcepole.ch>, Sourcepole AG
7
8
generalized : (C) 2012 Radim Blazek, based on qgswmsconnection.h
9
10
11
***************************************************************************/
12
13
/***************************************************************************
14
* *
15
* This program is free software; you can redistribute it and/or modify *
16
* it under the terms of the GNU General Public License as published by *
17
* the Free Software Foundation; either version 2 of the License, or *
18
* (at your option) any later version. *
19
* *
20
***************************************************************************/
21
22
#ifndef QGSOWSCONNECTION_H
23
#define QGSOWSCONNECTION_H
24
25
#include "
qgsdatasourceuri.h
"
26
27
#include <QStringList>
28
#include <QPushButton>
29
33
class
CORE_EXPORT
QgsOWSConnection
:
public
QObject
34
{
35
Q_OBJECT
36
37
public
:
43
QgsOWSConnection
(
const
QString
& theService,
const
QString
& theConnName );
44
46
~
QgsOWSConnection
();
47
49
static
QStringList
connectionList(
const
QString
& theService );
50
52
static
void
deleteConnection(
const
QString
& theService,
const
QString
& name );
53
55
static
QString
selectedConnection(
const
QString
& theService );
57
static
void
setSelectedConnection(
const
QString
& theService,
const
QString
& name );
58
59
QString
mConnName
;
61
QgsDataSourceURI
uri()
const
;
62
QString
mConnectionInfo
;
63
65
Q_DECL_DEPRECATED
QString
connectionInfo();
66
67
protected
:
68
QgsDataSourceURI
mUri
;
69
QString
mService
;
70
};
71
72
73
#endif // QGSOWSCONNECTION_H
QgsOWSConnection
Connections management.
Definition:
qgsowsconnection.h:33
qgsdatasourceuri.h
QObject
QgsOWSConnection::mService
QString mService
Definition:
qgsowsconnection.h:69
QgsOWSConnection::mConnectionInfo
QString mConnectionInfo
Definition:
qgsowsconnection.h:62
QString
QStringList
QgsDataSourceURI
Class for storing the component parts of a PostgreSQL/RDBMS datasource URI.
Definition:
qgsdatasourceuri.h:35
QgsOWSConnection::mConnName
QString mConnName
Definition:
qgsowsconnection.h:59
QgsOWSConnection::mUri
QgsDataSourceURI mUri
Definition:
qgsowsconnection.h:68
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13