QGIS API Documentation 3.99.0-Master (18a1e75d814)
Loading...
Searching...
No Matches
qgstiledsceneprovidermetadata.h
Go to the documentation of this file.
1/***************************************************************************
2 qgstiledsceneprovidermetadata.h
3 --------------------------------------
4 Date : June 2023
5 Copyright : (C) 2023 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSTILEDSCENEPROVIDERMETADATA_H
17#define QGSTILEDSCENEPROVIDERMETADATA_H
18
19
20#include "qgsprovidermetadata.h"
21
22#define SIP_NO_FILE
23
25
34class QgsTiledSceneProviderMetadata : public QgsProviderMetadata
35{
36 Q_OBJECT
37 public:
38 QgsTiledSceneProviderMetadata();
39 QIcon icon() const override;
40 QList< QgsDataItemProvider * > dataItemProviders() const override;
41
42 // handling of stored connections
43
44 QMap<QString, QgsAbstractProviderConnection *> connections( bool cached ) override;
45
47 QgsAbstractProviderConnection *createConnection( const QString &name ) override;
48 void deleteConnection( const QString &name ) override;
49 void saveConnection( const QgsAbstractProviderConnection *connection, const QString &name ) override;
50
51 ProviderCapabilities providerCapabilities() const override;
52};
53
55
56#endif // QGSTILEDSCENEPROVIDERMETADATA_H
An interface for data provider connections.
Holds data provider key, description, and associated shared library file or function pointer informat...
virtual QgsProviderMetadata::ProviderCapabilities providerCapabilities() const
Returns the provider's capabilities.
virtual void deleteConnection(const QString &name)
Removes the connection with the given name from the settings.
virtual QIcon icon() const
Returns an icon representing the provider.
virtual QgsAbstractProviderConnection * createConnection(const QString &uri, const QVariantMap &configuration)
Creates a new connection from uri and configuration, the newly created connection is not automaticall...
virtual void saveConnection(const QgsAbstractProviderConnection *connection, const QString &name)
Stores the connection in the settings.
virtual QMap< QString, QgsAbstractProviderConnection * > connections(bool cached=true)
Returns a dictionary of stored provider connections, the dictionary key is the connection identifier.
virtual QList< QgsDataItemProvider * > dataItemProviders() const
Returns data item providers.