[Qt-interest] Basic QThread question
Sean Harmer
sean.harmer at maps-technology.com
Thu May 6 14:30:11 CEST 2010
On 06/05/2010 12:47, william.crocker at analog.com wrote:
>
>>
>> This is the area where I'm having trouble. Is the following line correct?
>>
>>> connect( m_workerThread->poller(), SIGNAL( value( int ) ),
>>> this, SLOT( processValue( int ) ) );
>>
>
>
> Always check the return status:
>
> if( !connect(...) )
> Q_ASSERT(false);
Or just run with QT_FATAL_WARNINGS exported.
Sean
More information about the Qt-interest-old
mailing list