[Qt-interest] How to do it... in a QThread?
Sven Anderson
Sven.Anderson at snom.com
Fri Aug 5 10:38:39 CEST 2011
Hi,
Am 05.08.2011 00:49, schrieb K. Frank:
> If, for example, your design is such that you derive your own thread class from
> QThread, you could pass pABCD to that class's constructor. The run method
> of the QThread-derived class will now have access to A, B, C, and D through
> its copy of pABCD struct.
just a short note, that subclassing QThread is not recommended anymore.
Read the comment on the QThread documentation in the new documentation
platform:
http://developer.qt.nokia.com/doc/qt-4.7/qthread.html
Best regards
Sven
More information about the Qt-interest-old
mailing list