QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Utility functions for QgsDataItemGuiProviders. More...
#include <qgsdataitemguiproviderutils.h>
Static Public Member Functions | |
template<class T > | |
static void | deleteConnections (const QList< T * > &items, const std::function< void(const QString &) > &deleteConnection, QgsDataItemGuiContext context) |
Handles deletion of a list of connection items. | |
static const QString | uniqueName (const QString &name, const QStringList &connectionNames) |
Check if connection with name exists in connectionNames list and then try to append a number to it to get a unique name. | |
Utility functions for QgsDataItemGuiProviders.
Definition at line 37 of file qgsdataitemguiproviderutils.h.
|
inlinestatic |
Handles deletion of a list of connection items.
Definition at line 49 of file qgsdataitemguiproviderutils.h.
|
static |
Check if connection with name exists in connectionNames list and then try to append a number to it to get a unique name.
Definition at line 50 of file qgsdataitemguiproviderutils.cpp.