#ifndef RULE_H #define RULE_H #include "action.h" #include class Rule { public: Rule(const QUuid &id, const QUuid &triggerId, const Action &action); QUuid id() const; QUuid triggerId() const; Action action() const; private: QUuid m_id; QUuid m_triggerId; Action m_action; }; #endif // RULE_H