diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-09-25 11:15:24 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-09-25 11:16:11 (GMT) |
commit | 8a993264ca8bd6273f1d5bb4288d64592d07760f (patch) | |
tree | 2839ded5ae946485e6db94d45dd9ddf6461dfc53 /src/corelib/statemachine/qabstracttransition_p.h | |
parent | 0fa201d84468d82bec4268971eba865c50606e5c (diff) | |
download | Qt-8a993264ca8bd6273f1d5bb4288d64592d07760f.zip Qt-8a993264ca8bd6273f1d5bb4288d64592d07760f.tar.gz Qt-8a993264ca8bd6273f1d5bb4288d64592d07760f.tar.bz2 |
Replacing QPointer usage with QWeakPointer in statemachine
Reviewed-by: thierry
Diffstat (limited to 'src/corelib/statemachine/qabstracttransition_p.h')
-rw-r--r-- | src/corelib/statemachine/qabstracttransition_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/statemachine/qabstracttransition_p.h b/src/corelib/statemachine/qabstracttransition_p.h index 7465243..5b4df1b 100644 --- a/src/corelib/statemachine/qabstracttransition_p.h +++ b/src/corelib/statemachine/qabstracttransition_p.h @@ -56,7 +56,7 @@ #include <private/qobject_p.h> #include <QtCore/qlist.h> -#include <QtCore/qpointer.h> +#include <QtCore/qsharedpointer.h> QT_BEGIN_NAMESPACE @@ -80,7 +80,7 @@ public: QStateMachine *machine() const; void emitTriggered(); - QList<QPointer<QAbstractState> > targetStates; + QList<QWeakPointer<QAbstractState> > targetStates; #ifndef QT_NO_ANIMATION QList<QAbstractAnimation*> animations; |