fix bindings

This commit is contained in:
Denis Rouzaud 2023-02-02 20:29:11 +01:00
parent f5cecc2978
commit 3b5b6936fc
2 changed files with 15 additions and 1 deletions

View File

@ -20,6 +20,19 @@ class QgsSettingsTree
%TypeHeaderCode
#include "qgssettingstree.h"
%End
public:
static QgsSettingsTreeNode *createPluginTreeNode( const QString &pluginName );
%Docstring
Creates a settings tree node for the given ``pluginName``
%End
static void unregisterPluginTreeNode( const QString &pluginName );
%Docstring
Unregisters the tree node for the given plugin
%End
};

View File

@ -29,10 +29,11 @@
*/
class CORE_EXPORT QgsSettingsTree
{
#ifndef SIP_RUN
public:
#ifndef SIP_RUN
/**
* Returns the tree root node for the settings tree
*/