void NativeEventList::sendNextEvent() { QNativeEvent *e = eventList.at(currIndex).second; if (e) QNativeInput::sendNativeEvent(*e); waitNextEvent(); }
void NativeEventList::play(Playback playback) { waitNextEvent(); wait = (playback == WaitUntilFinished); while (wait) QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents); }
void NativeEventList::sendNextEvent() { QNativeEvent *e = eventList.at(currIndex).second; if (e) { if (debug > 0) qDebug() << "Sending:" << *e; QNativeInput::sendNativeEvent(*e); } waitNextEvent(); }