[Development] [Interest] Qt 5 connect to static function: Suggestion for new overload.

Thiago Macieira thiago.macieira at intel.com
Fri May 3 17:24:16 CEST 2013


On sexta-feira, 3 de maio de 2013 11.50.14, Björn Piltz wrote:
> Would it be possible to add an overload of QObject::connect() like this:
> 
> static QMetaObject::Connection connect(const QObject *sender,
> PointerToMemberFunction signal, const QObject *receiver, Functor
> functor);
> 
> in addition to
> 
> static QMetaObject::Connection connect(const QObject *sender,
> PointerToMemberFunction signal, Functor functor);

Can you check if this patch works for you?

https://codereview.qt-project.org/#change,53142

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/20130503/4ecfd514/attachment.sig>


More information about the Development mailing list