Slots can be executed immideatly or queued, depending on the connection and the thread appearance.
By default, connections are auto connections, which means, if the objects live in the same thread, they are direct connections. direct connections are like direct function calls. If the objects live in different threads or you specify QueuedConnection in the connect statement, the signal is queued to the event queue and executed in the next queue iteration (message Loop).
To specify a connect type, use the following connect statement:
@
connect (sender, signal, receiver, method, Qt::QueuedConnection);
@
"see QObject::connect":http://doc.qt.nokia.com/4.7/qobject.html#connect