Skip to content
Permalink
Browse files
add QgsDataSourceURI::database()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10579 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 16, 2009
1 parent dd0f5c9 commit dfc39e668e68ae35c7a81602b257a83e14882d3b
Showing with 7 additions and 0 deletions.
  1. +1 −0 python/core/qgsdatasourceuri.sip
  2. +5 −0 src/core/qgsdatasourceuri.cpp
  3. +1 −0 src/core/qgsdatasourceuri.h
@@ -55,6 +55,7 @@ public:
QString table() const;
QString sql() const;
QString geometryColumn() const;
QString database() const; // added in version 1.1

void setSql(QString sql);
};
@@ -212,6 +212,11 @@ QString QgsDataSourceURI::username() const
return mUsername;
}

QString QgsDataSourceURI::database() const
{
return mDatabase;
}

QString QgsDataSourceURI::schema() const
{
return mSchema;
@@ -71,6 +71,7 @@ class CORE_EXPORT QgsDataSourceURI
QString table() const;
QString sql() const;
QString geometryColumn() const;
QString database() const; // added in version 1.1
enum SSLmode sslMode() const;

void clearSchema();

0 comments on commit dfc39e6

Please sign in to comment.