File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
python/core/auto_generated/layertree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -108,15 +108,15 @@ child nodes of groups.
108
108
109
109
static int countMapLayerInTree( QgsLayerTreeNode *tree, QgsMapLayer *layer );
110
110
%Docstring
111
- Returns how many occurences of a map layer are there in a layer tree.
112
- In normal situations there is at most one occurence , but sometimes there
111
+ Returns how many occurrences of a map layer are there in a layer tree.
112
+ In normal situations there is at most one occurrence , but sometimes there
113
113
may be temporarily more: for example, during drag&drop, upon drop a new layer
114
114
node is created while the original dragged node is still in the tree, resulting
115
- in two occurences .
115
+ in two occurrences .
116
116
117
117
This is useful when deciding whether to start or stop listening to a signal
118
118
of a map layer within a layer tree and only connecting/disconnecting when
119
- there is only one occurence of that layer.
119
+ there is only one occurrence of that layer.
120
120
121
121
.. versionadded:: 3.4
122
122
%End
Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ class CORE_EXPORT QgsLayerTreeUtils
96
96
static QSet<QgsMapLayer *> collectMapLayersRecursive ( const QList<QgsLayerTreeNode *> &nodes );
97
97
98
98
/* *
99
- * Returns how many occurences of a map layer are there in a layer tree.
100
- * In normal situations there is at most one occurence , but sometimes there
99
+ * Returns how many occurrences of a map layer are there in a layer tree.
100
+ * In normal situations there is at most one occurrence , but sometimes there
101
101
* may be temporarily more: for example, during drag&drop, upon drop a new layer
102
102
* node is created while the original dragged node is still in the tree, resulting
103
- * in two occurences .
103
+ * in two occurrences .
104
104
*
105
105
* This is useful when deciding whether to start or stop listening to a signal
106
106
* of a map layer within a layer tree and only connecting/disconnecting when
107
- * there is only one occurence of that layer.
107
+ * there is only one occurrence of that layer.
108
108
* \since QGIS 3.4
109
109
*/
110
110
static int countMapLayerInTree ( QgsLayerTreeNode *tree, QgsMapLayer *layer );
You can’t perform that action at this time.
0 commit comments