QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
qgsconnectionregistry.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsconnectionregistry.h
3 ------------------------
4 begin : March 2020
5 copyright : (C) 2020 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSCONNECTIONREGISTRY_H
19#define QGSCONNECTIONREGISTRY_H
20
21#include "qgis_core.h"
22#include "qgis.h"
23#include <QObject>
24
26
27
38class CORE_EXPORT QgsConnectionRegistry : public QObject
39{
40 Q_OBJECT
41
42 public:
43
47 QgsConnectionRegistry( QObject *parent SIP_TRANSFERTHIS = nullptr );
48
51
63
64 private:
65
66#ifdef SIP_RUN
68#endif
69};
70
71#endif // QGSCONNECTIONREGISTRY_H
72
73
The QgsAbstractProviderConnection provides an interface for data provider connections.
A registry for saved data provider connections, allowing retrieval of saved connections by name and p...
QgsConnectionRegistry & operator=(const QgsConnectionRegistry &other)=delete
QgsConnectionRegistry(const QgsConnectionRegistry &other)=delete
Custom exception class for provider connection related exceptions.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53
#define SIP_FACTORY
Definition qgis_sip.h:76
#define SIP_THROW(name,...)
Definition qgis_sip.h:203