diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-06-17 08:37:08 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-17 08:38:30 (GMT) |
commit | b38a1c034df8c807331bf57a0dbcbe05991130f8 (patch) | |
tree | 6abac4848248d085bbdfa4fe84ab6786a1a5dfc1 | |
parent | cf521799d71861c067a07d30418cf3b3504fbfe9 (diff) | |
download | Qt-b38a1c034df8c807331bf57a0dbcbe05991130f8.zip Qt-b38a1c034df8c807331bf57a0dbcbe05991130f8.tar.gz Qt-b38a1c034df8c807331bf57a0dbcbe05991130f8.tar.bz2 |
prevent subclasses from emitting entered() and exited()
The state machine decides when these signals are emitted.
-rw-r--r-- | src/corelib/statemachine/qabstractstate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qabstractstate.h b/src/corelib/statemachine/qabstractstate.h index 35ce8f2..5355ac2 100644 --- a/src/corelib/statemachine/qabstractstate.h +++ b/src/corelib/statemachine/qabstractstate.h @@ -66,6 +66,9 @@ public: QStateMachine *machine() const; Q_SIGNALS: +#if !defined(Q_MOC_RUN) && !defined(qdoc) +private: // can only be emitted by QAbstractState +#endif void entered(); void exited(); |