[Development] Deprecate the QThread::terminated() signal?
Olivier Goffart
olivier at woboq.com
Thu Oct 18 17:45:23 CEST 2012
On Thursday 18 October 2012 23:40:21 Sze Howe Koh wrote:
> Ok, I just had a look at the source code to study how to remove the signal.
>
> It looks like the QThread::terminated() signal is only ever emitted from
> QThreadPrivate::finish(), if the appropriate flag is set (for both Unix and
> Win implementations). That flag is QThreadPrivate::terminated, and it's
> only ever queried to decide whether or not to emit the signal.
>
> So, I'm thinking that if QThread::terminated() is removed, then
> QThreadPrivate::terminated becomes redundant and can be removed too. Would
> you agree?
yes :-)
--
Olivier
Woboq - Qt services and support - http://woboq.com
More information about the Development
mailing list