mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
setDataProvider() mustn't be public as it's not intended for use outside of QgsVectorLayer.
This fixes ticket #775. git-svn-id: http://svn.osgeo.org/qgis/trunk@7263 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
995037ac5b
commit
ca9347d780
@ -29,12 +29,6 @@ public:
|
||||
/** Returns the primary display field name used in the identify results dialog */
|
||||
const QString displayField() const;
|
||||
|
||||
/** bind layer to a specific data provider
|
||||
@param provider should be "postgres", "ogr", or ??
|
||||
@todo XXX should this return bool? Throw exceptions?
|
||||
*/
|
||||
bool setDataProvider(const QString & provider );
|
||||
|
||||
/** Returns the data provider */
|
||||
QgsVectorDataProvider* getDataProvider();
|
||||
|
||||
|
@ -91,12 +91,6 @@ public:
|
||||
/** Returns the primary display field name used in the identify results dialog */
|
||||
const QString displayField() const;
|
||||
|
||||
/** bind layer to a specific data provider
|
||||
@param provider should be "postgres", "ogr", or ??
|
||||
@todo XXX should this return bool? Throw exceptions?
|
||||
*/
|
||||
bool setDataProvider( QString const & provider );
|
||||
|
||||
/** Returns the data provider */
|
||||
QgsVectorDataProvider* getDataProvider();
|
||||
|
||||
@ -413,6 +407,12 @@ private: // Private methods
|
||||
/** vector layers are not copyable */
|
||||
QgsVectorLayer & operator=( QgsVectorLayer const & rhs );
|
||||
|
||||
/** bind layer to a specific data provider
|
||||
@param provider should be "postgres", "ogr", or ??
|
||||
@todo XXX should this return bool? Throw exceptions?
|
||||
*/
|
||||
bool setDataProvider( QString const & provider );
|
||||
|
||||
/** Draws features. May cause projections exceptions to be generated
|
||||
* (i.e., code that calls this function needs to catch them
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user