peekNext

fun peekNext(): T?

Returns a reference to the QObject representing the item that is next to be removed from the queue according to the queue discipline that was specified.

Return

a reference to the QObject object next item to be removed, or null if the queue is empty