16#ifndef QGSVECTORTILECONNECTION_H
17#define QGSVECTORTILECONNECTION_H
32 QgsVectorTileProviderConnection(
const QString &name );
33 QgsVectorTileProviderConnection(
const QString &uri,
const QVariantMap &configuration );
35 virtual void store(
const QString &name )
const override;
36 virtual void remove(
const QString &name )
const override;
46 ArcgisVectorTileService,
56 ServiceType serviceType = Generic;
73 static QString encodedUri(
const Data &conn );
75 static Data decodedUri(
const QString &uri );
78 static QString encodedLayerUri(
const Data &conn );
81 static QStringList connectionList();
83 static Data connection(
const QString &name );
85 static void deleteConnection(
const QString &name );
87 static void addConnection(
const QString &name, Data conn );
89 static QString selectedConnection();
91 static void setSelectedConnection(
const QString &connName );
The QgsAbstractProviderConnection provides an interface for data provider connections.
virtual void remove(const QString &name) const =0
Deletes the connection from the settings.
virtual void store(const QString &name) const =0
Stores the connection in the settings.