Example #1
0
int AHDispachList::sendAllEvents(){
	int returnValue;
	do{
		returnValue = sendNextEvent();
	}while(returnValue == 0);

	return returnValue;
}
Example #2
0
void NativeEventList::waitNextEvent()
{
    if (++currIndex >= eventList.size()){
        emit done();
        stop();
        return;
    }

    int interval = eventList.at(currIndex).first;
    QTimer::singleShot(interval * playbackMultiplier, this, SLOT(sendNextEvent()));
}