17#include "moc_qgslayermetadataproviderregistry.cpp"
29 mMetadataProviders.insert( metadataProvider->
id(), metadataProvider );
34 delete mMetadataProviders.take( metadataProvider->
id() );
39 return mMetadataProviders.values();
44 return mMetadataProviders.value( type,
nullptr );
50 for (
auto it = mMetadataProviders.cbegin(); it != mMetadataProviders.cend(); ++it )
59 const QList<QgsLayerMetadataProviderResult> constMetadata { providerResults.
metadata() };
64 const QList<QString> constErrors { providerResults.errors() };
65 for (
const QString &error : std::as_const( constErrors ) )
Base class for feedback objects to be used for cancellation of something running in a worker thread.
bool isCanceled() const
Tells whether the operation has been canceled already.
A rectangle specified with double values.