summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtextedit_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-05 14:25:08 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-08-06 09:56:44 (GMT)
commit1a97230e908193c9a260ae68635301c0e9f9f8de (patch)
tree21480e205039bb9ff3095609c0f13218027d13e1 /src/gui/widgets/qtextedit_p.h
parentd90f1e4ff7a077daf59f5f035cf6744fe732f843 (diff)
downloadQt-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/qtextedit_p.h')
0 files changed, 0 insertions, 0 deletions