[Qt-interest] The dangers of removePostedEvents?
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Mon Dec 6 11:25:44 CET 2010
Well.. Without knowing why you would use this... its hard to give any
advice...
Can you give a code sample showing the problem you are having that you
are saying can only be solved with removepostedEvents?
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Mihail Naydenov
Sent: Monday, December 06, 2010 2:18 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] The dangers of removePostedEvents?
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
>
_______________________________________________
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