[PyQt] Is the result of SIGNAL() a constant?

Phil Thompson phil at riverbankcomputing.co.uk
Wed Jan 9 15:03:31 GMT 2008

On Wednesday 09 January 2008, Aaron Digulla wrote:
> Quoting Phil Thompson <phil at riverbankcomputing.co.uk>:
> > What about...
> >
> > foo(const QString &)
> > foo(QString *)
> Can you give an example with two signals with the same name and such
> parameters? I can't imagine to see that for any single class. It
> *might* happen with signals from different classes but there, we have
> a clean slate, so I don't think it's an issue unless you can prove me
> wrong.

I don't have a real example, but that's not the point. The point is that they 
are different as far as Qt is concerned and so both need to be able to be 
represented in the same class (even though the programmer that designed the 
class needs to be shot).


More information about the PyQt mailing list