QGIS/python/core/auto_additions/qgslayeritem.py
Nyall Dawson f21722a0f1 [sipify] Minor cleanup to auto additions
Condense injections into a single block instead of multiple
separate blocks
2024-09-09 16:56:29 +10:00

19 lines
1.1 KiB
Python

# The following has been generated automatically from src/core/browser/qgslayeritem.h
try:
QgsLayerItem.typeFromMapLayer = staticmethod(QgsLayerItem.typeFromMapLayer)
QgsLayerItem.layerTypeAsString = staticmethod(QgsLayerItem.layerTypeAsString)
QgsLayerItem.iconName = staticmethod(QgsLayerItem.iconName)
QgsLayerItem.iconForWkbType = staticmethod(QgsLayerItem.iconForWkbType)
QgsLayerItem.iconPoint = staticmethod(QgsLayerItem.iconPoint)
QgsLayerItem.iconLine = staticmethod(QgsLayerItem.iconLine)
QgsLayerItem.iconPolygon = staticmethod(QgsLayerItem.iconPolygon)
QgsLayerItem.iconTable = staticmethod(QgsLayerItem.iconTable)
QgsLayerItem.iconRaster = staticmethod(QgsLayerItem.iconRaster)
QgsLayerItem.iconDefault = staticmethod(QgsLayerItem.iconDefault)
QgsLayerItem.iconMesh = staticmethod(QgsLayerItem.iconMesh)
QgsLayerItem.iconVectorTile = staticmethod(QgsLayerItem.iconVectorTile)
QgsLayerItem.iconPointCloud = staticmethod(QgsLayerItem.iconPointCloud)
QgsLayerItem.__group__ = ['browser']
except NameError:
pass