summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine/qkeyeventtransition.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove constructors that are not usefulKent Hansen2009-08-031-13/+0
| | | | | | | The constructors that take a list of target states produce hard-to-read code, and they're rarely useful in practice since 99% of transitions take a single target state; so it's better to enforce that setTarget{State,States}() be used instead.
* 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
* Fix missing/outdated license headers.Jason McDonald2009-05-211-2/+32
| | | | Reviewed-by: Trust Me
* remove QT_EXPERIMENTAL stuffKent Hansen2009-05-201-6/+1
|
* 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.
* add event as argument to onEntry(), onExit() and onTransition()Kent Hansen2009-05-051-2/+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-11/+7
| | | | Result of API review.
* modifiers --> modifiersMaskKent Hansen2009-04-291-7/+14
| | | | | | Result of API review. A == comparison of the modifiers is not useful. The common case is you want to test if one or more modifiers are set, i.e. a mask check.
* docKent Hansen2009-04-201-0/+1
|
* Initial import of statemachine branch from the old kinetic repositoryAlexis Menard2009-04-171-0/+157