16#ifndef QGSABSTRACTPROVIDERCONNECTION_H
17#define QGSABSTRACTPROVIDERCONNECTION_H
51 sipType = sipType_QgsAbstractDatabaseProviderConnection;
55 sipType = sipType_QgsAbstractProviderConnection;
85 virtual void store(
const QString &name )
const = 0;
90 virtual void remove(
const QString &name )
const = 0;
95 virtual QIcon icon()
const;
105 void setUri(
const QString &uri );
110 QVariantMap configuration()
const;
115 void setConfiguration(
const QVariantMap &configuration );
120 QVariantMap mConfiguration;
The QgsAbstractDatabaseProviderConnection class provides common functionality for DB based connection...
The QgsAbstractProviderConnection provides an interface for data provider connections.
virtual ~QgsAbstractProviderConnection()=default
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.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)