MCPcopy Create free account
hub / github.com/IENT/YUView / timerEvent

Method timerEvent

YUViewLib/src/playlistitem/playlistItemStatisticsFile.cpp:309–323  ·  view source on GitHub ↗

This timer event is called regularly when the background loading process is running.

Source from the content-addressed store, hash-verified

307
308// This timer event is called regularly when the background loading process is running.
309void playlistItemStatisticsFile::timerEvent(QTimerEvent *event)
310{
311 if (event->timerId() != timer.timerId())
312 return playlistItem::timerEvent(event);
313
314 if (!backgroundParserFuture.isRunning())
315 {
316 timer.stop();
317 DEBUG_STAT("playlistItemStatisticsFile::timerEvent Background parsing done.");
318 }
319
320 if (this->file)
321 this->prop.startEndRange = indexRange(0, this->file->getMaxPoc());
322 emit SignalItemChanged(false, RECACHE_NONE);
323}

Callers

nothing calls this directly

Calls 2

isRunningMethod · 0.80
getMaxPocMethod · 0.80

Tested by

no test coverage detected