summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine/qbasickeyeventtransition.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-04 14:05:19 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-06-04 14:05:19 (GMT)
commit5c23548a0a60ca25631cff2fa7f296fdbd15b78a (patch)
tree0ea2c16452c89eed738a459f004afcfadac9d298 /src/gui/statemachine/qbasickeyeventtransition.cpp
parentfcd1059f05be695b78f42c02446b17ab143ce9c0 (diff)
downloadQt-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/gui/statemachine/qbasickeyeventtransition.cpp')
-rw-r--r--src/gui/statemachine/qbasickeyeventtransition.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/statemachine/qbasickeyeventtransition.cpp b/src/gui/statemachine/qbasickeyeventtransition.cpp
index f7f1eb6..61362b2 100644
--- a/src/gui/statemachine/qbasickeyeventtransition.cpp
+++ b/src/gui/statemachine/qbasickeyeventtransition.cpp
@@ -40,6 +40,9 @@
****************************************************************************/
#include "qbasickeyeventtransition_p.h"
+
+#ifndef QT_NO_STATEMACHINE
+
#include <QtGui/qevent.h>
#include <qdebug.h>
#include <private/qabstracttransition_p.h>
@@ -201,3 +204,5 @@ void QBasicKeyEventTransition::onTransition(QEvent *)
}
QT_END_NAMESPACE
+
+#endif //QT_NO_STATEMACHINE