Hi Eskil, Am I right in thinking that QtEventTransition has got the same problem as QtSignalTransition? It should not implement onTransition().
Regards Jean-Yves Reutter Software Developer -----Original Message----- From: Eskil Abrahamsen Blomfeldt [mailto:[email protected]] Sent: mardi, 14. avril 2009 14:32 To: Jean-Yves Reutter Cc: [email protected] Subject: Re: [Qt4-preview-feedback] Qt State Machine Framework: action on QtSignalTransition Jean-Yves Reutter wrote: > > The current implementation does not allow to perform an action on a > QtSignalTransition. > > The action can be added to the transition, but the corresponding > action is never performed. > [...] > > > > > > Am I right in thinking that it is an error, or is it a design point > that I haven't understood? > > This behavior is due to the empty implementation of > QtSignalTransition::onTransition() > > - If this behaviour is not normal, removing the > QtSignalTransition::onTransition() method, or calling > QtTransition::onTransition() in QtSignalTransition::onTransition() > would solve the problem. > Hi, Jean-Yves. You are right, this is a bug which seems to have snuck in during an API change. QtSignalTransition should not reimplement onTransition() at all. Thanks for reporting this. -- Eskil _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
