28 mMetadataProviders.insert( metadataProvider->
id(), metadataProvider );
33 delete mMetadataProviders.take( metadataProvider->
id() );
38 return mMetadataProviders.values();
43 return mMetadataProviders.value( type,
nullptr );
49 for (
auto it = mMetadataProviders.cbegin(); it != mMetadataProviders.cend(); ++it )
58 const QList<QgsLayerMetadataProviderResult> constMetadata { providerResults.
metadata() };
63 const QList<QString> constErrors { providerResults.errors() };
64 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.