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 or null if the list is empty
the index to inspect