diff --git a/python/PyQt6/core/auto_additions/qgssettingstree.py b/python/PyQt6/core/auto_additions/qgssettingstree.py index ae58f3634cac..ac38e8d7867f 100644 --- a/python/PyQt6/core/auto_additions/qgssettingstree.py +++ b/python/PyQt6/core/auto_additions/qgssettingstree.py @@ -1,5 +1,6 @@ # The following has been generated automatically from src/core/settings/qgssettingstree.h try: + QgsSettingsTree.treeRoot = staticmethod(QgsSettingsTree.treeRoot) QgsSettingsTree.createPluginTreeNode = staticmethod(QgsSettingsTree.createPluginTreeNode) QgsSettingsTree.unregisterPluginTreeNode = staticmethod(QgsSettingsTree.unregisterPluginTreeNode) QgsSettingsTree.__group__ = ['settings'] diff --git a/python/PyQt6/core/auto_generated/settings/qgssettingstree.sip.in b/python/PyQt6/core/auto_generated/settings/qgssettingstree.sip.in index 2794d16f9606..f17414b05045 100644 --- a/python/PyQt6/core/auto_generated/settings/qgssettingstree.sip.in +++ b/python/PyQt6/core/auto_generated/settings/qgssettingstree.sip.in @@ -23,6 +23,11 @@ class QgsSettingsTree %End public: + static QgsSettingsTreeNode *treeRoot(); +%Docstring +Returns the tree root node for the settings tree +%End + static const QgsSettingsTreeNode *node( const QString &key ); %Docstring diff --git a/python/PyQt6/core/class_map.yaml b/python/PyQt6/core/class_map.yaml index d95484dcdd12..0526eddb83fa 100644 --- a/python/PyQt6/core/class_map.yaml +++ b/python/PyQt6/core/class_map.yaml @@ -15870,6 +15870,7 @@ QgsSettingsRegistry: src/core/settings/qgssettingsregistry.h#L38 QgsSettingsRegistryCore: src/core/settings/qgssettingsregistrycore.h#L43 QgsSettingsTree.createPluginTreeNode: src/core/settings/qgssettingstree.h#L80 QgsSettingsTree.node: src/core/settings/qgssettingstree.h#L75 +QgsSettingsTree.treeRoot: src/core/settings/qgssettingstree.h#L38 QgsSettingsTree.unregisterPluginTreeNode: src/core/settings/qgssettingstree.h#L86 QgsSettingsTree: src/core/settings/qgssettingstree.h#L30 QgsSettingsTreeNamedListNode.deleteAllItems: src/core/settings/qgssettingstreenode.h#L240 diff --git a/python/core/auto_additions/qgssettingstree.py b/python/core/auto_additions/qgssettingstree.py index ae58f3634cac..ac38e8d7867f 100644 --- a/python/core/auto_additions/qgssettingstree.py +++ b/python/core/auto_additions/qgssettingstree.py @@ -1,5 +1,6 @@ # The following has been generated automatically from src/core/settings/qgssettingstree.h try: + QgsSettingsTree.treeRoot = staticmethod(QgsSettingsTree.treeRoot) QgsSettingsTree.createPluginTreeNode = staticmethod(QgsSettingsTree.createPluginTreeNode) QgsSettingsTree.unregisterPluginTreeNode = staticmethod(QgsSettingsTree.unregisterPluginTreeNode) QgsSettingsTree.__group__ = ['settings'] diff --git a/python/core/auto_generated/settings/qgssettingstree.sip.in b/python/core/auto_generated/settings/qgssettingstree.sip.in index 2794d16f9606..f17414b05045 100644 --- a/python/core/auto_generated/settings/qgssettingstree.sip.in +++ b/python/core/auto_generated/settings/qgssettingstree.sip.in @@ -23,6 +23,11 @@ class QgsSettingsTree %End public: + static QgsSettingsTreeNode *treeRoot(); +%Docstring +Returns the tree root node for the settings tree +%End + static const QgsSettingsTreeNode *node( const QString &key ); %Docstring diff --git a/python/core/class_map.yaml b/python/core/class_map.yaml index f5e0b73902f7..5538f123831c 100644 --- a/python/core/class_map.yaml +++ b/python/core/class_map.yaml @@ -15870,6 +15870,7 @@ QgsSettingsRegistry: src/core/settings/qgssettingsregistry.h#L38 QgsSettingsRegistryCore: src/core/settings/qgssettingsregistrycore.h#L43 QgsSettingsTree.createPluginTreeNode: src/core/settings/qgssettingstree.h#L80 QgsSettingsTree.node: src/core/settings/qgssettingstree.h#L75 +QgsSettingsTree.treeRoot: src/core/settings/qgssettingstree.h#L38 QgsSettingsTree.unregisterPluginTreeNode: src/core/settings/qgssettingstree.h#L86 QgsSettingsTree: src/core/settings/qgssettingstree.h#L30 QgsSettingsTreeNamedListNode.deleteAllItems: src/core/settings/qgssettingstreenode.h#L240