diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-07-12 20:00:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-13 12:09:42 +0200 |
commit | 058246c53767dc99ff466882cd890db8ebd7bd49 (patch) | |
tree | a576b498e4bc9da4ce67c230e195fa617df50e82 /tests/auto/corelib | |
parent | 08345c5dac13ecee3c239a79eae4565050493710 (diff) |
statemachine: Small refactoring of transition registration
Split the guts of registerTransitions() into a registerTransition()
function. This allows a particular transition to be registered,
instead of walking the source state's whole list of transitions
every time.
Move the logic for determining whether a transition should be
registered to the state machine, since that's also where the actual
registration takes place.
Change-Id: I0496dee9454cd77b62cf2768942a82a96b320744
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions