summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/pingpong
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
* kill usage of QT_STATEMACHINE_SOLUTIONKent Hansen2009-06-041-5/+0
| | | | The define no longer exists.
* compile with -qtnamespace, clean up the example .pro filesKent Hansen2009-05-201-6/+7
|
* Make QAbstractTransition::eventTest() non-constEskil Abrahamsen Blomfeldt2009-05-141-2/+2
| | | | | We decided to remove the const of the eventTest() since some transitions have dynamic conditions and need to update when eventTest() is called.
* document the statemachine/pingpong exampleKent Hansen2009-05-121-0/+14
|
* add event as argument to onEntry(), onExit() and onTransition()Kent Hansen2009-05-051-3/+3
| | | | | | | | | 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.
* replace QState::Type with QState::childMode propertyKent Hansen2009-04-291-1/+1
| | | | Result of API review.
* say hello (again) to QAbstract{State,Transition}::machine()Kent Hansen2009-04-291-21/+10
| | | | It's useful and it's simple for us to expose, so let's.
* include the right headerKent Hansen2009-04-211-1/+1
|
* Initial import of statemachine branch from the old kinetic repositoryAlexis Menard2009-04-172-0/+152