summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qabstracttransition.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-17 08:59:50 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-17 09:01:59 (GMT)
commit368c3c936fc12ef5249d72ffa5541df3b8558e4d (patch)
treede8d711c52a67837448b61a3f1b990b841adf0fe /src/corelib/statemachine/qabstracttransition.h
parent4cacc45d10e59bb8915b8d76c359df7a8ad0a846 (diff)
downloadQt-368c3c936fc12ef5249d72ffa5541df3b8558e4d.zip
Qt-368c3c936fc12ef5249d72ffa5541df3b8558e4d.tar.gz
Qt-368c3c936fc12ef5249d72ffa5541df3b8558e4d.tar.bz2
bring back QAbstractTransition::triggered() signal
It's been requested by several users. Since we have QAbstractState::{entered,exited}() signals, we should have this one as well.
Diffstat (limited to 'src/corelib/statemachine/qabstracttransition.h')
-rw-r--r--src/corelib/statemachine/qabstracttransition.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qabstracttransition.h b/src/corelib/statemachine/qabstracttransition.h
index 83899ce..9ba1f11 100644
--- a/src/corelib/statemachine/qabstracttransition.h
+++ b/src/corelib/statemachine/qabstracttransition.h
@@ -89,6 +89,12 @@ public:
QList<QAbstractAnimation*> animations() const;
#endif
+Q_SIGNALS:
+#if !defined(Q_MOC_RUN) && !defined(qdoc)
+private: // can only be emitted by QAbstractTransition
+#endif
+ void triggered();
+
protected:
virtual bool eventTest(QEvent *event) = 0;