diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-05 14:25:08 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-06 09:56:44 (GMT) |
commit | 1a97230e908193c9a260ae68635301c0e9f9f8de (patch) | |
tree | 21480e205039bb9ff3095609c0f13218027d13e1 /src/gui/widgets | |
parent | d90f1e4ff7a077daf59f5f035cf6744fe732f843 (diff) | |
download | Qt-1a97230e908193c9a260ae68635301c0e9f9f8de.zip Qt-1a97230e908193c9a260ae68635301c0e9f9f8de.tar.gz Qt-1a97230e908193c9a260ae68635301c0e9f9f8de.tar.bz2 |
Changed setting state in a QGesture
Instead of having a protected setter for the state and forcing the application
developer to emit signals manually (which leads to misunderstanding - i.e. if
the started() signal should be emitted only once, or of the triggered() signal
should be emitted before the finished() signal, etc). So I've added an
protected updateState(state) function that sets the internal state and emits
appropriate signals depending on the old and new states.
Reviewed-by: Volker Hilsheimer
Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'src/gui/widgets')
0 files changed, 0 insertions, 0 deletions