File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ public:
2929 /** Returns the primary display field name used in the identify results dialog */
3030 const QString displayField() const;
3131
32- /** bind layer to a specific data provider
33- @param provider should be "postgres", "ogr", or ??
34- @todo XXX should this return bool? Throw exceptions?
35- */
36- bool setDataProvider(const QString & provider );
37-
3832 /** Returns the data provider */
3933 QgsVectorDataProvider* getDataProvider();
4034
Original file line number Diff line number Diff line change @@ -91,12 +91,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
9191 /* * Returns the primary display field name used in the identify results dialog */
9292 const QString displayField () const ;
9393
94- /* * bind layer to a specific data provider
95- @param provider should be "postgres", "ogr", or ??
96- @todo XXX should this return bool? Throw exceptions?
97- */
98- bool setDataProvider ( QString const & provider );
99-
10094 /* * Returns the data provider */
10195 QgsVectorDataProvider* getDataProvider ();
10296
@@ -413,6 +407,12 @@ public slots:
413407 /* * vector layers are not copyable */
414408 QgsVectorLayer & operator =( QgsVectorLayer const & rhs );
415409
410+ /* * bind layer to a specific data provider
411+ @param provider should be "postgres", "ogr", or ??
412+ @todo XXX should this return bool? Throw exceptions?
413+ */
414+ bool setDataProvider ( QString const & provider );
415+
416416 /* * Draws features. May cause projections exceptions to be generated
417417 * (i.e., code that calls this function needs to catch them
418418 */
You can’t perform that action at this time.
0 commit comments