summaryrefslogtreecommitdiff
path: root/src/corelib/statemachine/qwrappedevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/statemachine/qwrappedevent.h')
-rw-r--r--src/corelib/statemachine/qwrappedevent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qwrappedevent.h b/src/corelib/statemachine/qwrappedevent.h
index b01c60888a..cb4261b45a 100644
--- a/src/corelib/statemachine/qwrappedevent.h
+++ b/src/corelib/statemachine/qwrappedevent.h
@@ -50,6 +50,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Core)
+#ifndef QT_NO_STATEMACHINE
+
class QObject;
class Q_CORE_EXPORT QWrappedEvent : public QEvent
@@ -69,6 +71,8 @@ private:
Q_DISABLE_COPY(QWrappedEvent)
};
+#endif //QT_NO_STATEMACHINE
+
QT_END_NAMESPACE
QT_END_HEADER