elizabeth.h1
29th September 2009, 09:53
Hello
If I have the following code
void someslotFunc()
{
qApp->postEvent(QEvent::SomeEventType);
}
When the posted event will be processed ? When control gets to the main loop, right? Or it will be processed inside the slot?
Think that the case is when control gets to the main loop, but I am not sure
Thanks
If I have the following code
void someslotFunc()
{
qApp->postEvent(QEvent::SomeEventType);
}
When the posted event will be processed ? When control gets to the main loop, right? Or it will be processed inside the slot?
Think that the case is when control gets to the main loop, but I am not sure
Thanks