peekAt

fun peekAt(index: Int): T?

Returns the QObject at the supplied index in the queue.

Throws an IndexOutOfBoundsException if the specified index is out of range (index < 0 || index >= size()).

Return

The QObject at index in the queue or null if the list is empty

Parameters

index

the index to inspect