Skip to content

Commit 977b2af

Browse files
author
jef
committed
added notes about new optional sslmode parameter in 1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10493 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent aadefd7 commit 977b2af

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

python/core/qgsdatasourceuri.sip

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class QgsDataSourceURI
1212
%End
1313

1414
public:
15+
//! \note enumeration added in version 1.1
1516
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
1617

1718
//! default constructor
@@ -30,6 +31,7 @@ public:
3031
QString quotedTablename() const;
3132

3233
//! Set all connection related members at once
34+
//! \note This optional sslmode parameter has been added in version 1.1
3335
void setConnection(const QString& aHost,
3436
const QString& aPort,
3537
const QString& aDatabase,

src/core/qgsdatasourceuri.h

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
class CORE_EXPORT QgsDataSourceURI
3131
{
3232
public:
33+
//! \note enumeration added in version 1.1
3334
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
3435

3536
//! default constructor
@@ -48,6 +49,7 @@ class CORE_EXPORT QgsDataSourceURI
4849
QString quotedTablename() const;
4950

5051
//! Set all connection related members at once
52+
//! \note This optional sslmode parameter has been added in version 1.1
5153
void setConnection( const QString& aHost,
5254
const QString& aPort,
5355
const QString& aDatabase,

0 commit comments

Comments
 (0)