What do you mean by "breaking the evaluation", saving it and resuming it later?
Sure you can call a sleep function from qscript. Do you need help in calling c++ functions from qscript?
What is your problem exactly? What do you want to achieve?
A sleep design pattern is probably not the best solution.. You can very easily connect script code to qt signals.
scriptcode: qtobj.signalname.connect(function SignalHandler(params) {});
or
scriptcode: qtobj.signalname.connect(scriptobj,scriptmethod);
HIH
Johannes
Bookmarks