Skip to content

Commit 7f52e29

Browse files
elpasonyalldawson
authored andcommitted
doxy
1 parent 7b6f9c0 commit 7f52e29

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

python/core/auto_generated/qgsvectorlayer.sip.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,6 @@ data.
365365
:param baseName: The name used to represent the layer in the legend
366366
:param providerLib: The name of the data provider, e.g., "memory", "postgres"
367367
:param options: layer load options
368-
369-
.. deprecated:: Use version with options as mandatory argument instead
370368
%End
371369

372370
~QgsVectorLayer();

src/core/processing/qgsprocessingutils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class CORE_EXPORT QgsProcessingUtils
330330
*
331331
* \since QGIS 3.8
332332
*/
333-
static QgsMapLayer *loadMapLayerFromString( const QString &string, const QgsCoordinateTransformContext &transformContext, LayerHint typeHint = UnknownType );
333+
static QgsMapLayer *loadMapLayerFromString( const QString &string, const QgsCoordinateTransformContext &transformContext, LayerHint typeHint = LayerHint::UnknownType );
334334

335335
/**
336336
* Interprets a string as a map layer. The method will attempt to
@@ -340,7 +340,7 @@ class CORE_EXPORT QgsProcessingUtils
340340
*
341341
* \deprecated use mapLayerFromString() that takes QgsCoordinateTransformContext as an argument instead
342342
*/
343-
Q_DECL_DEPRECATED static QgsMapLayer *loadMapLayerFromString( const QString &string, LayerHint typeHint = UnknownType ) SIP_DEPRECATED ;
343+
Q_DECL_DEPRECATED static QgsMapLayer *loadMapLayerFromString( const QString &string, LayerHint typeHint = LayerHint::UnknownType ) SIP_DEPRECATED ;
344344

345345
static void parseDestinationString( QString &destination, QString &providerKey, QString &uri, QString &layerName, QString &format, QMap<QString, QVariant> &options, bool &useWriter, QString &extension );
346346

src/core/qgsvectorlayer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
450450
* \param baseName The name used to represent the layer in the legend
451451
* \param providerLib The name of the data provider, e.g., "memory", "postgres"
452452
* \param options layer load options
453-
* \deprecated Use version with options as mandatory argument instead
454453
*/
455454
explicit QgsVectorLayer( const QString &path = QString(), const QString &baseName = QString(),
456455
const QString &providerLib = "ogr", const QgsVectorLayer::LayerOptions &options = QgsVectorLayer::LayerOptions() );

0 commit comments

Comments
 (0)