summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qabstractstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/statemachine/qabstractstate.h')
-rw-r--r--src/corelib/statemachine/qabstractstate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qabstractstate.h b/src/corelib/statemachine/qabstractstate.h
index d0ebb52..ee55541 100644
--- a/src/corelib/statemachine/qabstractstate.h
+++ b/src/corelib/statemachine/qabstractstate.h
@@ -50,6 +50,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Core)
+#ifndef QT_NO_STATEMACHINE
+
class QState;
class QStateMachine;
@@ -83,6 +85,8 @@ private:
Q_DECLARE_PRIVATE(QAbstractState)
};
+#endif //QT_NO_STATEMACHINE
+
QT_END_NAMESPACE
QT_END_HEADER