summaryrefslogtreecommitdiffstats
path: root/examples/statemachine/pingpong
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Updated example license to three clause BSD license.David Boddie2010-05-191-27/+26
| | | | | Reviewed-by: Trust Me Requested-by: Legal
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Introduce state machine event priority, make it possible to cancel eventsKent Hansen2009-09-291-2/+2
| | | | | | | | | | | | The priority specifies whether the event should be posted to what the SCXML spec refers to as the "external" (NormalPriority) queue, or the "internal" (HighPriority) queue. Delayed events are now posted through a separate function, postDelayedEvent(). That function returns an id that can be passed to cancelDelayedEvent() to cancel it. Reviewed-by: Eskil Abrahamsen Blomfeldt
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* 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