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()).
The QObject at index in the queue
the index to inspect