On Sun, Aug 13, 2006 at 04:57:51PM +0200, Abdelrazak Younes wrote:
> Angus Leeming wrote:
> >Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> >>>>You might want to change "const XXX" into "XXX const" is you don't 
> >>>>want Lars to shout at you...
> >
> >>>i think i did that once with a slot in order to respect qt's convention, 
> >>>don't know whether that is necessary though...
> >
> >>I think it's not, both convention are understood by the compiler.
> >
> >Historically, that's not been true of moc which has (used to have) trouble 
> >connecting slots (const XXX) to signals (XXX const).
> 
> But do you know if it's OK now with Qt4?

It's ok with Qt 4's moc.

> the past without problems but I am not sure. What kind of trouble was 
> that anyway? Crash, errors or silence?

Both errors and silence depending on context IIRC.

Andre'

Reply via email to