32 #ifndef pqParaViewBehaviors_h 33 #define pqParaViewBehaviors_h 35 #include "pqApplicationComponentsModule.h" 59 #define PQ_BEHAVIOR_DEFINE_METHODS(_name) \ 60 static void setEnable##_name(bool val) { pqParaViewBehaviors::_name = val; } \ 61 static bool enable##_name() { return pqParaViewBehaviors::_name; } 63 #define PQ_BEHAVIOR_DECLARE_FLAG(_name) static bool _name; 68 typedef QObject Superclass;
128 #undef PQ_BEHAVIOR_DECLARE_FLAG 129 #undef PQ_BEHAVIOR_DEFINE_METHODS #define PQ_BEHAVIOR_DEFINE_METHODS(_name)
#define PQ_BEHAVIOR_DECLARE_FLAG(_name)