16 #ifndef QGSMAPLAYERACTIONREGISTRY_H
17 #define QGSMAPLAYERACTIONREGISTRY_H
34 Q_FLAGS( Availability )
42 AllActions = Layer | SingleFeature | MultipleFeatures
44 Q_DECLARE_FLAGS( Targets, Target )
71 void setTargets( const Targets& targets ) {mTargets = targets;}
73 const Targets&
targets()
const {
return mTargets;}
93 bool mSpecificLayerType;
101 Q_DECLARE_OPERATORS_FOR_FLAGS( QgsMapLayerAction::Targets )
148 #endif // QGSMAPLAYERACTIONREGISTRY_H
Base class for all map layer types.
LayerType
Layers enum defining the types of layers that can be added to a map.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
QList< QgsMapLayerAction * > mMapLayerActionList
This class tracks map layer actions.
const Targets & targets() const
Return availibity of action.
An action which can run on map layers.