diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-03 08:35:37 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-03 08:40:30 (GMT) |
commit | acd156649b1083aeeb400fe8fdbbf4e55ada4bed (patch) | |
tree | e74b2486cacc4b318b5c0533360ab03e1923a11d /src/gui/statemachine/qmouseeventtransition.h | |
parent | 45005c68c6effa41108ef55cd10a84f5977f79a0 (diff) | |
download | Qt-acd156649b1083aeeb400fe8fdbbf4e55ada4bed.zip Qt-acd156649b1083aeeb400fe8fdbbf4e55ada4bed.tar.gz Qt-acd156649b1083aeeb400fe8fdbbf4e55ada4bed.tar.bz2 |
remove constructors that are not useful
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.
Diffstat (limited to 'src/gui/statemachine/qmouseeventtransition.h')
-rw-r--r-- | src/gui/statemachine/qmouseeventtransition.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/statemachine/qmouseeventtransition.h b/src/gui/statemachine/qmouseeventtransition.h index 73ae6c9..a56a554 100644 --- a/src/gui/statemachine/qmouseeventtransition.h +++ b/src/gui/statemachine/qmouseeventtransition.h @@ -63,10 +63,6 @@ public: QMouseEventTransition(QState *sourceState = 0); QMouseEventTransition(QObject *object, QEvent::Type type, Qt::MouseButton button, QState *sourceState = 0); - QMouseEventTransition(QObject *object, QEvent::Type type, - Qt::MouseButton button, - const QList<QAbstractState*> &targets, - QState *sourceState = 0); ~QMouseEventTransition(); Qt::MouseButton button() const; |