File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
python/core/auto_generated Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,12 @@ Abstract base class for spatial data provider implementations.
61
61
QgsCoordinateTransformContext coordinateTransformContext;
62
62
};
63
63
64
- QgsDataProvider( const QString &uri = QString(), const QgsDataProvider::ProviderOptions &options = QgsDataProvider::ProviderOptions() ):
64
+ QgsDataProvider( const QString &uri = QString(), const QgsDataProvider::ProviderOptions &options = QgsDataProvider::ProviderOptions() );
65
65
%Docstring
66
66
Create a new dataprovider with the specified in the ``uri``.
67
67
68
68
Additional creation options are specified within the ``options`` value.
69
69
%End
70
- mDataSourceURI( uri ),
71
- mOptions( options );
72
70
73
71
virtual QgsCoordinateReferenceSystem crs() const = 0;
74
72
%Docstring
Original file line number Diff line number Diff line change 17
17
18
18
QString QgsDataProvider::SUBLAYER_SEPARATOR = QString( " !!::!!" );
19
19
20
+ QgsDataProvider::QgsDataProvider ( const QString &uri, const QgsDataProvider::ProviderOptions &options )
21
+ : mDataSourceURI( uri ),
22
+ mOptions( options )
23
+ {
24
+ }
25
+
20
26
void QgsDataProvider::setProviderProperty ( QgsDataProvider::ProviderProperty property, const QVariant &value )
21
27
{
22
28
mProviderProperties .insert ( property, value );
Original file line number Diff line number Diff line change @@ -106,11 +106,7 @@ class CORE_EXPORT QgsDataProvider : public QObject
106
106
*
107
107
* Additional creation options are specified within the \a options value.
108
108
*/
109
- QgsDataProvider ( const QString &uri = QString(), const QgsDataProvider::ProviderOptions &options = QgsDataProvider::ProviderOptions() ):
110
- mDataSourceURI ( uri ),
111
- mOptions( options )
112
- {
113
- }
109
+ QgsDataProvider ( const QString &uri = QString(), const QgsDataProvider::ProviderOptions &options = QgsDataProvider::ProviderOptions() );
114
110
115
111
/* *
116
112
* Returns the coordinate system for the data source.
You can’t perform that action at this time.
0 commit comments