Reputation: 355
Related to Qt: Do events get processed in order?
Do Qt::QueuedConnection
signals always get invoked in order?
So:
void A::func()
{
emit first_signal();
emit second_signal();
}
If these are both connected by Qt::QueuedConnection
to slots will they always be invoked in the order first_signal()
then second_signal()
?
Upvotes: 1
Views: 404
Reputation: 7278
Given the fact that bug(s) regarding the event prioritization are still being fixed very recently (target version 4.8.0), better don't rely on it. The observation that docs avoid any bold statements most probably means that the devs are simply not so sure.
Upvotes: 2
Reputation: 5555
If the documentation does not state it, you should rather not assume it.
Upvotes: 1