summaryrefslogtreecommitdiffstats
path: root/src/corelib/statemachine/qstatemachine.h
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-04 16:05:19 +0200
committerKent Hansen <khansen@trolltech.com>2009-06-04 16:05:19 +0200
commit5c23548a0a60ca25631cff2fa7f296fdbd15b78a (patch)
tree0ea2c16452c89eed738a459f004afcfadac9d298 /src/corelib/statemachine/qstatemachine.h
parentfcd1059f05be695b78f42c02446b17ab143ce9c0 (diff)
add QT_NO_STATEMACHINE define so state machine can be compiled out
Reviewed-by: Thierry Bastian
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.h')
-rw-r--r--src/corelib/statemachine/qstatemachine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine.h b/src/corelib/statemachine/qstatemachine.h
index 2a98a9ad97..0b3c7283b8 100644
--- a/src/corelib/statemachine/qstatemachine.h
+++ b/src/corelib/statemachine/qstatemachine.h
@@ -54,6 +54,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Core)
+#ifndef QT_NO_STATEMACHINE
+
class QEvent;
class QAbstractState;
class QState;
@@ -159,6 +161,8 @@ private:
#endif
};
+#endif //QT_NO_STATEMACHINE
+
QT_END_NAMESPACE
QT_END_HEADER