summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qeventtransition.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* add QT_NO_STATEMACHINE define so state machine can be compiled outKent Hansen2009-06-041-0/+5
| | | | Reviewed-by: Thierry Bastian
* make sure event transition is correctly unregistered/re-registeredKent Hansen2009-05-221-13/+16
| | | | | | When the eventType or eventObject is changed while the state is active, the transition needs to be unregistered _before_ either property is changed, only _then_ can it be re-registered.
* Make QAbstractTransition::eventTest() non-constEskil Abrahamsen Blomfeldt2009-05-141-1/+1
| | | | | We decided to remove the const of the eventTest() since some transitions have dynamic conditions and need to update when eventTest() is called.
* kill the QT_STATEMACHINE_SOLUTION defineKent Hansen2009-05-131-4/+0
| | | | We won't release another Qt Solution, so the define is no longer needed.
* add event as argument to onEntry(), onExit() and onTransition()Kent Hansen2009-05-051-1/+2
| | | | | | | | | Accessing the event can be useful. E.g., onEntry() can do some common event processing regardless of which transition caused the state to be entered; onTransition() can be used in combination with eventTest(), where eventTest() would first check that the input matches some criteria, and then the actual processing of that input would be done in onTransition.
* rename QBoundEvent to QWrappedEvent and make it publicKent Hansen2009-04-291-24/+10
| | | | Result of API review.
* rename a few properties and methodsKent Hansen2009-04-291-3/+3
| | | | Result of API review.
* kill the stateactions apiKent Hansen2009-04-221-7/+14
| | | | | | | | | | | | It just didn't give us that much. Typically you just reimplement onEntry/onExit/onTransition when you want to do something. We go back to the signals-and-slots approach: states have entered() and exited() signals that you can connect to. It's still possible to have an action-based API, but then you build it on top of the core API, which is OK. Replacing 4 public classes (and one layer in the hierarchy) with 2 signals feels good.
* rename QTransition -> QActionTransitionKent Hansen2009-04-211-7/+7
|
* docKent Hansen2009-04-201-2/+3
|
* Initial import of statemachine branch from the old kinetic repositoryAlexis Menard2009-04-171-0/+291