16#ifndef QGSVECTORTILECONNECTION_H
17#define QGSVECTORTILECONNECTION_H
55 QgsVectorTileProviderConnection(
const QString &name );
56 QgsVectorTileProviderConnection(
const QString &uri,
const QVariantMap &configuration );
58 virtual void store(
const QString &name )
const override;
59 virtual void remove(
const QString &name )
const override;
69 ArcgisVectorTileService,
79 ServiceType serviceType = Generic;
96 static QString encodedUri(
const Data &conn );
98 static Data decodedUri(
const QString &uri );
101 static QString encodedLayerUri(
const Data &conn );
104 static QStringList connectionList();
106 static Data connection(
const QString &name );
108 static void deleteConnection(
const QString &name );
110 static void addConnection(
const QString &name, Data conn );
112 static QString selectedConnection();
114 static void setSelectedConnection(
const QString &connName );
@ NamedListSelectedItemSetting
Creates a setting to store which is the current item.
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.
An integer settings entry.
A string list settings entry.
QgsSettingsTreeNamedListNode is a named list tree node for the settings tree to help organizing and i...
QgsSettingsTreeNamedListNode * createNamedListNode(const QString &key, const Qgis::SettingsTreeNodeOptions &options=Qgis::SettingsTreeNodeOptions()) SIP_THROW(QgsSettingsException)
Creates a named list tree node.
static QgsSettingsTreeNode * sTreeConnections