On Thursday, 26 de May de 2011 11:56:26 Kishore wrote:
> On Thursday 26 May 2011 2:40:20 AM Thiago Macieira wrote:
> >         QObject::connect(sender, &SenderClass::signalName,
> >                 [](int i){ qDebug() << i; });
> 
> OT. Could you just explain the above code? Is that just indicative or can
> you implement the method in the connect function call?

You can. The above code is perfectly valid and I have proof of concept.

> Sorry, im just confused since i have never seen code like in your
> illustration and also without the SIGNAL() and SLOT() macros.
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to