Skip to content
Permalink
Browse files

Clarify in the registerMapLayerPropertiesFactory docstring that the o…

…wnership of the factory is not transferred
  • Loading branch information
manisandro committed May 30, 2016
1 parent 2297ade commit 3bdbf79b4de1ed83bef8a4f48bc46b9f8418fb16
Showing with 9 additions and 6 deletions.
  1. +3 −2 python/gui/qgisinterface.sip
  2. +3 −2 src/app/qgisappinterface.h
  3. +3 −2 src/gui/qgisinterface.h
@@ -281,8 +281,9 @@ class QgisInterface : QObject

/** Register a new tab in the vector layer properties dialog.
* @note added in QGIS 2.16
* @see unregisterMapLayerPropertiesFactory()
*/
* @note Ownership of the factory is not transferred, and the factory must
* be unregistered when plugin is unloaded.
* @see unregisterMapLayerPropertiesFactory() */
virtual void registerMapLayerPropertiesFactory( QgsMapLayerPropertiesFactory* factory ) = 0;

/** Unregister a previously registered tab in the vector layer properties dialog.
@@ -290,8 +290,9 @@ class APP_EXPORT QgisAppInterface : public QgisInterface

/** Register a new tab in the vector layer properties dialog.
* @note added in QGIS 2.16
* @see unregisterMapLayerPropertiesFactory()
*/
* @note Ownership of the factory is not transferred, and the factory must
* be unregistered when plugin is unloaded.
* @see unregisterMapLayerPropertiesFactory() */
virtual void registerMapLayerPropertiesFactory( QgsMapLayerPropertiesFactory* factory ) override;

/** Unregister a previously registered tab in the vector layer properties dialog.
@@ -331,8 +331,9 @@ class GUI_EXPORT QgisInterface : public QObject

/** Register a new tab in the vector layer properties dialog.
* @note added in QGIS 2.16
* @see unregisterMapLayerPropertiesFactory()
*/
* @note Ownership of the factory is not transferred, and the factory must
* be unregistered when plugin is unloaded.
* @see unregisterMapLayerPropertiesFactory() */
virtual void registerMapLayerPropertiesFactory( QgsMapLayerPropertiesFactory* factory ) = 0;

/** Unregister a previously registered tab in the vector layer properties dialog.

1 comment on commit 3bdbf79

@nyalldawson

This comment has been minimized.

Copy link
Contributor

@nyalldawson nyalldawson commented on 3bdbf79 May 30, 2016

Looks good!

Please sign in to comment.
You can’t perform that action at this time.