diff options
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.h')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/corelib/statemachine/qstatemachine.h b/src/corelib/statemachine/qstatemachine.h index 843844e172..4f31252eed 100644 --- a/src/corelib/statemachine/qstatemachine.h +++ b/src/corelib/statemachine/qstatemachine.h @@ -48,10 +48,9 @@ #include <QtCore/qset.h> #include <QtCore/qvariant.h> -QT_BEGIN_NAMESPACE - +QT_REQUIRE_CONFIG(statemachine); -#ifndef QT_NO_STATEMACHINE +QT_BEGIN_NAMESPACE class QStateMachinePrivate; class QAbstractAnimation; @@ -141,7 +140,7 @@ public: QSet<QAbstractState*> configuration() const; -#ifndef QT_NO_STATEMACHINE_EVENTFILTER +#if QT_CONFIG(qeventtransition) bool eventFilter(QObject *watched, QEvent *event) Q_DECL_OVERRIDE; #endif @@ -183,8 +182,6 @@ private: Q_PRIVATE_SLOT(d_func(), void _q_killDelayedEventTimer(int, int)) }; -#endif //QT_NO_STATEMACHINE - QT_END_NAMESPACE #endif |