[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Signals, QStrings
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2008-11-26 22:38:02
Message-ID: 8a5fd13405d8b9036fb0a45803448af8 () localhost
[Download RAW message or body]

On Wed, 26 Nov 2008 17:11:26 -0500, Matt Smith <melkor@orangepalantir.org>
wrote:
> Here is a basic question because I am not so familiar with cpp.  Whats
> the difference between:
> 
> emit(SIGNAL("mySignal( QString )"),myQstring)
> emit(SIGNAL("mySignal( const QString&)"),myQstring)
> 
> and more importantly, which one should I use?

They are equivalent. Qt converts the second to the first under the covers.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic