Navigation Menu

Skip to content

Commit

Permalink
Spelling, sip
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 10, 2021
1 parent 73613b7 commit def7998
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
1 change: 0 additions & 1 deletion python/3d/auto_generated/qgsrulebased3drenderer.sip.in
Expand Up @@ -11,7 +11,6 @@




class QgsRuleBased3DRendererMetadata : Qgs3DRendererAbstractMetadata
{
%Docstring
Expand Down
14 changes: 14 additions & 0 deletions python/core/auto_generated/qgsprovidermetadata.sip.in
Expand Up @@ -115,6 +115,13 @@ library object.
typedef QFlags<QgsProviderMetadata::ProviderMetadataCapability> ProviderMetadataCapabilities;


enum ProviderCapability
{
FileBasedUris,
};
typedef QFlags<QgsProviderMetadata::ProviderCapability> ProviderCapabilities;



QgsProviderMetadata( const QString &key, const QString &description, const QString &library = QString() );
%Docstring
Expand Down Expand Up @@ -147,6 +154,13 @@ This is used to provide a descriptive list of available data providers.
Returns the provider metadata capabilities.

.. versionadded:: 3.18
%End

virtual QgsProviderMetadata::ProviderCapabilities providerCapabilities() const;
%Docstring
Returns the provider's capabilities.

.. versionadded:: 3.20
%End

QString library() const /Deprecated/;
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgshandlebadlayers.cpp
Expand Up @@ -417,7 +417,7 @@ void QgsHandleBadLayers::apply()
const QString correctedPath = checkBasepath( layerId, dataInfo.absoluteDir().path(), dataInfo.fileName(), fixedPath );
if ( fixedPath && correctedPath != filePath )
{
// reencode uri for provider
// re-encode uri for provider
providerMap.insert( QStringLiteral( "path" ), correctedPath );
datasource = QgsProviderRegistry::instance()->encodeUri( provider, providerMap );
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsprovidermetadata.h
Expand Up @@ -160,7 +160,7 @@ class CORE_EXPORT QgsProviderMetadata : public QObject
*/
enum ProviderCapability
{
FileBasedUris = 1 << 0, //!< Indicates that the provider can utilise URIs which are based on paths to files (as opposed to database or internet paths)
FileBasedUris = 1 << 0, //!< Indicates that the provider can utilize URIs which are based on paths to files (as opposed to database or internet paths)
};
Q_DECLARE_FLAGS( ProviderCapabilities, ProviderCapability )

Expand Down

0 comments on commit def7998

Please sign in to comment.