File tree 2 files changed +6
-12
lines changed
2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ public:
29
29
/** Returns the primary display field name used in the identify results dialog */
30
30
const QString displayField() const;
31
31
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
-
38
32
/** Returns the data provider */
39
33
QgsVectorDataProvider* getDataProvider();
40
34
Original file line number Diff line number Diff line change @@ -91,12 +91,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
91
91
/* * Returns the primary display field name used in the identify results dialog */
92
92
const QString displayField () const ;
93
93
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
-
100
94
/* * Returns the data provider */
101
95
QgsVectorDataProvider* getDataProvider ();
102
96
@@ -413,6 +407,12 @@ public slots:
413
407
/* * vector layers are not copyable */
414
408
QgsVectorLayer & operator =( QgsVectorLayer const & rhs );
415
409
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
+
416
416
/* * Draws features. May cause projections exceptions to be generated
417
417
* (i.e., code that calls this function needs to catch them
418
418
*/
You can’t perform that action at this time.
0 commit comments