diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-06-04 14:05:19 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-04 14:05:19 (GMT) |
commit | 5c23548a0a60ca25631cff2fa7f296fdbd15b78a (patch) | |
tree | 0ea2c16452c89eed738a459f004afcfadac9d298 /src/corelib/statemachine/qstatemachine.cpp | |
parent | fcd1059f05be695b78f42c02446b17ab143ce9c0 (diff) | |
download | Qt-5c23548a0a60ca25631cff2fa7f296fdbd15b78a.zip Qt-5c23548a0a60ca25631cff2fa7f296fdbd15b78a.tar.gz Qt-5c23548a0a60ca25631cff2fa7f296fdbd15b78a.tar.bz2 |
add QT_NO_STATEMACHINE define so state machine can be compiled out
Reviewed-by: Thierry Bastian
Diffstat (limited to 'src/corelib/statemachine/qstatemachine.cpp')
-rw-r--r-- | src/corelib/statemachine/qstatemachine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/statemachine/qstatemachine.cpp b/src/corelib/statemachine/qstatemachine.cpp index d5f6b76..64b33ac 100644 --- a/src/corelib/statemachine/qstatemachine.cpp +++ b/src/corelib/statemachine/qstatemachine.cpp @@ -40,6 +40,9 @@ ****************************************************************************/ #include "qstatemachine.h" + +#ifndef QT_NO_STATEMACHINE + #include "qstate.h" #include "qstate_p.h" #include "qstatemachine_p.h" @@ -2207,3 +2210,5 @@ QWrappedEvent::~QWrappedEvent() QT_END_NAMESPACE #include "moc_qstatemachine.cpp" + +#endif //QT_NO_STATEMACHINE |