[Qt-interest] The dangers of removePostedEvents?

Mihail Naydenov mlists at ymail.com
Mon Dec 6 11:18:12 CET 2010


Anyone?

Thank You
MihailNaydenov



----- Original Message ----
> From: Mihail Naydenov <mlists at ymail.com>
> To: qt-interest at trolltech.com
> Sent: Mon, November 29, 2010 11:53:10 AM
> Subject: [Qt-interest] The dangers of removePostedEvents?
> 
> Hello,
> I ended up using QApplicstion::removePostedEvents, but the docs advice  not 
to.
> 
> "...You should never need to call this function. If you do call  it, be aware 
> that killing events may cause receiver to break one or more  invariants."
> 
> Please explain this section to me, what are the real dangers  I might run 
into?
> Thus far I found that removePostedEvents is *exactly* what  I need, and my 
> program behaves best when using it, 
> 
> but I am a bit  frightened by this warning.
> 
> Thank you in  advance.
> MihailNaydenov
> 
> 
> 
>       
> _______________________________________________
> Qt-interest mailing  list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 


      



More information about the Qt-interest-old mailing list