On Wed, Aug 24, 2011 at 4:03 AM,  <[email protected]> wrote:
> It has often annoyed me how the sleep(), msleep() and usleep() functions of 
> QThread are protected and not public. A number of times I've found myself in 
> the situation where I want to call these from outside of a QThread subclass 
> and have had to resort to defining a dummy subclass just so I could call 
> them. The only rationale I can think of for why these were made protected is 
> to try to ensure that they are only called from threads that were indeed 
> created by QThread (not sure if that is even necessary for these functions to 
> work).

http://qt.gitorious.org/qt/qtbase/merge_requests/43 may be of interest.

BR,

Robin
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to