26 qDeleteAll( mProviders );
31 mProviders.append( provider );
36 int index = mProviders.indexOf( provider );
38 delete mProviders.takeAt( index );
43 if ( !providerGuiRegistry )
46 const QStringList providersList = providerGuiRegistry->
providerList();
48 for (
const QString &key : providersList )
50 const QList<QgsDataItemGuiProvider *> providerList = providerGuiRegistry->
dataItemGuiProviders( key );
52 mProviders << providerList;