26 for (
const QString &key : providersList )
34 const QList<QgsDataItemGuiProvider *> *providerList = dataItemGuiProvidersFn();
36 mProviders << *providerList;
44 qDeleteAll( mProviders );
49 mProviders.append( provider );
54 int index = mProviders.indexOf( provider );
56 delete mProviders.takeAt( index );
QList< QgsDataItemGuiProvider * > * dataItemGuiProviders_t()
~QgsDataItemGuiProviderRegistry()
void removeProvider(QgsDataItemGuiProvider *provider)
Removes a provider implementation from the registry.
static QgsProviderRegistry * instance(const QString &pluginPath=QString())
Means of accessing canonical single instance.
Abstract base class for providers which affect how QgsDataItem items behave within the application GU...
QgsDataItemGuiProviderRegistry()
QStringList providerList() const
Returns list of available providers by their keys.
void addProvider(QgsDataItemGuiProvider *provider)
Adds a provider implementation to the registry.