mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
Update sip
This commit is contained in:
parent
ebd851993a
commit
1aa7ca3452
@ -105,8 +105,9 @@ class QgsProcessingProvider : QObject
|
||||
%Docstring
|
||||
Loads the provider. This will be called when the plugin is being loaded, and any general
|
||||
setup actions should occur in an overridden version of this method.
|
||||
Subclasses should not load any algorithms in their load() implementations, as that must
|
||||
occur within the loadAlgorithms() method.
|
||||
Subclasses should not individually load any algorithms in their load() implementations, as that must
|
||||
occur within the loadAlgorithms() method. Instead, subclasses should call refreshAlgorithms()
|
||||
from any overloaded load() method to trigger an initial load of the provider's algorithms.
|
||||
\returns true if provider could be successfully loaded
|
||||
\see unload()
|
||||
%End
|
||||
|
@ -46,6 +46,8 @@ class QgsProcessingRegistry : QObject
|
||||
and the provider's parent will be set to the registry.
|
||||
Returns false if the provider could not be added (eg if a provider with a duplicate ID already exists
|
||||
in the registry).
|
||||
Adding a provider to the registry automatically triggers the providers QgsProcessingProvider::load()
|
||||
method to populate the provider with algorithms.
|
||||
\see removeProvider()
|
||||
%End
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user