mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
[qml] Expose map layers by name project function
This commit is contained in:
parent
6f1f5d2ef6
commit
70ceb9d317
@ -1185,7 +1185,7 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera
|
|||||||
* \see mapLayer()
|
* \see mapLayer()
|
||||||
* \see mapLayers()
|
* \see mapLayers()
|
||||||
*/
|
*/
|
||||||
QList<QgsMapLayer *> mapLayersByName( const QString &layerName ) const;
|
Q_INVOKABLE QList<QgsMapLayer *> mapLayersByName( const QString &layerName ) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves a list of matching registered layers by layer \a shortName.
|
* Retrieves a list of matching registered layers by layer \a shortName.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user