diff options
author | Noam Rosenthal <nrosenth@nokia.com> | 2009-06-08 12:28:41 -0700 |
---|---|---|
committer | Noam Rosenthal <nrosenth@nokia.com> | 2009-06-08 12:28:41 -0700 |
commit | 7a41ce5b7a595c67c16ae5ef1711927623602b6a (patch) | |
tree | 5a6917940daa31c04f21bbb67417504674b6418a /examples/calc/main.cpp | |
parent | d0441f605434a89b53735427e4e81182c65debbd (diff) |
some missing files
Diffstat (limited to 'examples/calc/main.cpp')
-rw-r--r-- | examples/calc/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/calc/main.cpp b/examples/calc/main.cpp index 9d30c6b..181b792 100644 --- a/examples/calc/main.cpp +++ b/examples/calc/main.cpp @@ -1,11 +1,11 @@ #include <QtGui/QApplication> #include "calc.h" -#include "qscriptedstatemachine.h" +#include "qscxml.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); - QtScriptedStateMachine *sm = QtScriptedStateMachine::load(":/calc.scxml"); + QScxml *sm = QScxml::load(":/calc.scxml"); CalcWidget w; sm->registerObject(&w,"",true); QObject::connect (&w, SIGNAL(command(QString)), sm, SLOT(postNamedEvent(QString))); |