mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
added notes about new optional sslmode parameter in 1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@10493 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ba33f55827
commit
a415b87860
@ -12,6 +12,7 @@ class QgsDataSourceURI
|
|||||||
%End
|
%End
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
//! \note enumeration added in version 1.1
|
||||||
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
|
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
|
||||||
|
|
||||||
//! default constructor
|
//! default constructor
|
||||||
@ -30,6 +31,7 @@ public:
|
|||||||
QString quotedTablename() const;
|
QString quotedTablename() const;
|
||||||
|
|
||||||
//! Set all connection related members at once
|
//! Set all connection related members at once
|
||||||
|
//! \note This optional sslmode parameter has been added in version 1.1
|
||||||
void setConnection(const QString& aHost,
|
void setConnection(const QString& aHost,
|
||||||
const QString& aPort,
|
const QString& aPort,
|
||||||
const QString& aDatabase,
|
const QString& aDatabase,
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
class CORE_EXPORT QgsDataSourceURI
|
class CORE_EXPORT QgsDataSourceURI
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
//! \note enumeration added in version 1.1
|
||||||
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
|
enum SSLmode { SSLprefer, SSLdisable, SSLallow, SSLrequire };
|
||||||
|
|
||||||
//! default constructor
|
//! default constructor
|
||||||
@ -48,6 +49,7 @@ class CORE_EXPORT QgsDataSourceURI
|
|||||||
QString quotedTablename() const;
|
QString quotedTablename() const;
|
||||||
|
|
||||||
//! Set all connection related members at once
|
//! Set all connection related members at once
|
||||||
|
//! \note This optional sslmode parameter has been added in version 1.1
|
||||||
void setConnection( const QString& aHost,
|
void setConnection( const QString& aHost,
|
||||||
const QString& aPort,
|
const QString& aPort,
|
||||||
const QString& aDatabase,
|
const QString& aDatabase,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user