diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-21 12:53:34 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-04-21 12:53:34 (GMT) |
commit | 381e67f03155167cd9c1c0c3c4c3905196f287df (patch) | |
tree | 2eff99925993f24379041127b1d689d9ee1dbe1f /tests/auto/qstate | |
parent | 1d150321ab0137b926ec226fcb868f3b38c36bfd (diff) | |
download | Qt-381e67f03155167cd9c1c0c3c4c3905196f287df.zip Qt-381e67f03155167cd9c1c0c3c4c3905196f287df.tar.gz Qt-381e67f03155167cd9c1c0c3c4c3905196f287df.tar.bz2 |
compile.
Diffstat (limited to 'tests/auto/qstate')
-rw-r--r-- | tests/auto/qstate/tst_qstate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qstate/tst_qstate.cpp b/tests/auto/qstate/tst_qstate.cpp index f28c3fa..f79fcd4 100644 --- a/tests/auto/qstate/tst_qstate.cpp +++ b/tests/auto/qstate/tst_qstate.cpp @@ -9,7 +9,7 @@ #include "qstate.h" #include "qstatemachine.h" -#include "qtransition.h" +#include "qactiontransition.h" #include "qsignaltransition.h" #include "qstateaction.h" @@ -265,11 +265,11 @@ void tst_QState::assignPropertyTwice() QCOMPARE(object->property("fooBar").toInt(), 30); } -class EventTestTransition: public QTransition +class EventTestTransition: public QActionTransition { public: EventTestTransition(QEvent::Type type, QState *targetState) - : QTransition(QList<QAbstractState*>() << targetState), m_type(type) + : QActionTransition(QList<QAbstractState*>() << targetState), m_type(type) { } |