[Qt-interest] Basic QThread question - part 2

Constantin Makshin cmakshin at gmail.com
Wed May 5 20:41:17 CEST 2010


Not necessarily — "emit" is an empty definition (my guess is that it's simply to show that secondTicked() is a signal), so both variants give the same result.

On Mon, 03 May 2010 15:44:39 +0400, Gabriel M. Beddingfield <gabrbedd at gmail.com> wrote:
> On Mon, 3 May 2010, Phil wrote:
>>    iSecondsAccu_++;
>>    emit(secondTicked(iSeconds_ - iSecondsAccu_));
>
> This should be:
>
>      emit secondTicked(iSeconds_ - iSecondsAccu_);
>
> -gabriel

-- 
Constantin Makshin



More information about the Qt-interest-old mailing list