QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsProviderRegistry::UnusableUriHandlerInterface Class Referenceabstract

An interface used to handle unusable URIs which aren't handled by any registered providers, and construct user-friendly warnings as to why the URI is unusable. More...

#include <qgsproviderregistry.h>

Public Member Functions

virtual ~UnusableUriHandlerInterface ()=default
 
virtual UnusableUriDetails details (const QString &uri) const =0
 Returns the details for advising the user why the uri is not usable.
 
virtual bool matchesUri (const QString &uri) const =0
 Returns true if the handle is an unusable URI handler for the specified uri.
 

Detailed Description

An interface used to handle unusable URIs which aren't handled by any registered providers, and construct user-friendly warnings as to why the URI is unusable.

For example, if a QGIS install is built without the PDAL library then las/laz files are unusable. This class can then be used to construct friendly warnings to users advising them why the las/laz files cannot be used on their QGIS build.

Since
QGIS 3.18.1

Definition at line 517 of file qgsproviderregistry.h.

Constructor & Destructor Documentation

◆ ~UnusableUriHandlerInterface()

virtual QgsProviderRegistry::UnusableUriHandlerInterface::~UnusableUriHandlerInterface ( )
virtualdefault

Member Function Documentation

◆ details()

virtual UnusableUriDetails QgsProviderRegistry::UnusableUriHandlerInterface::details ( const QString &  uri) const
pure virtual

Returns the details for advising the user why the uri is not usable.

◆ matchesUri()

virtual bool QgsProviderRegistry::UnusableUriHandlerInterface::matchesUri ( const QString &  uri) const
pure virtual

Returns true if the handle is an unusable URI handler for the specified uri.


The documentation for this class was generated from the following file: