You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/qgsdataitem.h
+5-4
Original file line number
Diff line number
Diff line change
@@ -210,8 +210,9 @@ class CORE_EXPORT QgsDataItem : public QObject
210
210
SetCrs = 1 << 0, //!< Can set CRS on layer or group of layers
211
211
Fertile = 1 << 1, //!< Can create children. Even items without this capability may have children, but cannot create them, it means that children are created by item ancestors.
212
212
Fast = 1 << 2, //!< CreateChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QgsSettings
213
-
Collapse = 1 << 3, //!< The collapse/expand status for this items children should be ignored in order to avoid undesired network connections (wms etc.)
213
+
Collapse = 1 << 3, //!< The collapse/expand status for this items children should be ignored in order to avoid undesired network connections (wms etc.)
214
214
Rename = 1 << 4, //!< Item can be renamed
215
+
Delete = 1 << 5, //!< Item can be deleted
215
216
};
216
217
Q_DECLARE_FLAGS( Capabilities, Capability )
217
218
@@ -323,9 +324,6 @@ class CORE_EXPORT QgsDataItem : public QObject
0 commit comments