enqueue

fun enqueue(qObject: T, priority: Int = qObject.priority, obj: Any? = qObject.attachedObject)

Places the QObject in the queue, with the specified priority Automatically, updates the number in queue response variable.

Parameters

qObject
  • the QObject to enqueue

priority
  • the priority for ordering the object, lower has more priority

obj

an Object to be "wrapped" and queued while the QObject is queued