mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
Adds a new "QgsDataItemGuiProviderUtils" class, with a generic function for handling deletion of browser connection items. Replace all the duplicate connection deletion logic from the different browser connection providers with calls to the generic function. In addition to removing a lot of duplicate code, the new generic function correctly handles deletion of multiple selected connections (previously, only the first connection would actually be removed). Fixes #26276
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsdataitemguiproviderutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsDataItemGuiProviderUtils
|
|
{
|
|
%Docstring(signature="appended")
|
|
|
|
Utility functions for :py:class:`QgsDataItemGuiProviders`.
|
|
|
|
.. versionadded:: 3.38
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsdataitemguiproviderutils.h"
|
|
%End
|
|
public:
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsdataitemguiproviderutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|