diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-06-17 10:37:08 +0200 |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-17 10:38:30 +0200 |
commit | b38a1c034df8c807331bf57a0dbcbe05991130f8 (patch) | |
tree | 6abac4848248d085bbdfa4fe84ab6786a1a5dfc1 /src/corelib/statemachine | |
parent | cf521799d71861c067a07d30418cf3b3504fbfe9 (diff) | |
download | qt4-tools-b38a1c034df8c807331bf57a0dbcbe05991130f8.tar.gz |
prevent subclasses from emitting entered() and exited()
The state machine decides when these signals are emitted.
Diffstat (limited to 'src/corelib/statemachine')
-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 35ce8f27cf..5355ac2c2e 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(); |