Hi

         Thank you.

But I check source code of Qt, QthreadPool is derived from Qobject, not Qthread.

 

 

Thanks

Ken

 

 

 

________________________________

发件人: Amogh Kudari [mailto:amogh.kuda...@gmail.com] 
发送时间: 2013年3月19日 11:53
收件人: pengliang(彭亮)
抄送: Interest@qt-project.org
主题: Re: [Interest] how to block run function of QRunnable class

 

Hi Pengliang,

 

      I am not pretty sure but it may be possible as QThreadPoolThread is a 
friend class of Qrunnable class and 

QThreadPoolThread is derived from QThread and QThread has the sleep method.

Hope this helps.

 

Regards,

Amogh.

 

On Tue, Mar 19, 2013 at 8:11 AM, pengliang(彭亮) <pengli...@founder.com> wrote:

Hi all

         I don’t know how to block run function several seconds of Qrunnable 
class.

 

Andybody know?

 

 

Thanks

Ken

 

 


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

 

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to