16#ifndef QGSABSTRACTPROVIDERCONNECTION_H
17#define QGSABSTRACTPROVIDERCONNECTION_H
49 sipType = sipType_QgsAbstractDatabaseProviderConnection;
53 sipType = sipType_QgsAbstractProviderConnection;
83 virtual void store(
const QString &name )
const = 0;
88 virtual void remove(
const QString &name )
const = 0;
93 virtual QIcon icon()
const;
103 void setUri(
const QString &uri );
108 QVariantMap configuration()
const;
113 void setConfiguration(
const QVariantMap &configuration );
118 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)