summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qabstractstate.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-17 08:37:08 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-17 08:38:30 (GMT)
commitb38a1c034df8c807331bf57a0dbcbe05991130f8 (patch)
tree6abac4848248d085bbdfa4fe84ab6786a1a5dfc1 /src/corelib/statemachine/qabstractstate.h
parentcf521799d71861c067a07d30418cf3b3504fbfe9 (diff)
downloadQt-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.
Diffstat (limited to 'src/corelib/statemachine/qabstractstate.h')
-rw-r--r--src/corelib/statemachine/qabstractstate.h3
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();