32 #ifndef pqParaViewBehaviors_h 33 #define pqParaViewBehaviors_h 35 #include "pqApplicationComponentsModule.h" 57 #define PQ_BEHAVIOR_DEFINE_METHODS(_name) \ 58 static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; } \ 59 static bool enable##_name() { return pqParaViewBehaviors::_name; } 61 #define PQ_BEHAVIOR_DECLARE_FLAG(_name) static bool _name; 66 typedef QObject Superclass;
125 #undef PQ_BEHAVIOR_DECLARE_FLAG 126 #undef PQ_BEHAVIOR_DEFINE_METHODS #define PQ_BEHAVIOR_DEFINE_METHODS(_name)
#define PQ_BEHAVIOR_DECLARE_FLAG(_name)