[Development] Fixing connecting to private signals

Thiago Macieira thiago.macieira at intel.com
Fri Jul 13 12:00:07 CEST 2012


On sexta-feira, 13 de julho de 2012 11.51.07, Stephen Kelly wrote:
> > You can't connect to the private signal because the type QPrivateSignal is
> > private.
> 
> I added some unit tests for this case:
> 
> https://codereview.qt-project.org/30762

Why did the change have to be in Q_OBJECT? Couldn't it be done for this one 
class that requires private signals only?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120713/8c09d22e/attachment.sig>


More information about the Development mailing list