00001 #ifndef _ONESTATETRANSITION_H_323442986296_ 00002 #define _ONESTATETRANSITION_H_323442986296_ 00003 00004 #include "transition.h" 00005 00006 class OneStateTransition : public Transition 00007 { 00008 public: 00009 OneStateTransition(Editor *parent, State *ss, bool dimmed) 00010 : Transition(parent, ss, NULL, dimmed) 00011 {} 00012 00013 virtual QString getTypeNameSuffix() const; 00014 00015 virtual void assign(); 00016 virtual void unassign(); 00017 00018 protected: 00019 virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); 00020 }; 00021 00022 #endif //_ONESTATETRANSITION_H_323442986296_