mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-07 00:03:52 -05:00
Improve docstring
This commit is contained in:
parent
2b4a2332af
commit
73e385fd31
@ -1490,7 +1490,10 @@ Sets the coordinate transform context to ``transformContext``
|
||||
|
||||
QgsProject *project() const;
|
||||
%Docstring
|
||||
Returns the parent project if available.
|
||||
Returns the parent project if this map layer is added to a project.
|
||||
Otherwise returns ``None``
|
||||
|
||||
.. versionadded:: 3.18
|
||||
%End
|
||||
|
||||
signals:
|
||||
|
||||
@ -1336,7 +1336,10 @@ class CORE_EXPORT QgsMapLayer : public QObject
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns the parent project if available.
|
||||
* Returns the parent project if this map layer is added to a project.
|
||||
* Otherwise returns NULLPTR
|
||||
*
|
||||
* \since QGIS 3.18
|
||||
*/
|
||||
QgsProject *project() const;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user