[Qt-interest] Idea: QSignalMapper with std::function (esp. for C++0x lambdas)
Thiago Macieira
thiago at kde.org
Fri Feb 19 21:37:58 CET 2010
Em Sexta-feira 19. Fevereiro 2010, às 21.07.36, Ville M. Vainio escreveu:
> On Fri, Feb 19, 2010 at 1:59 PM, Thiago Macieira <thiago at kde.org> wrote:
> > Em Sexta-feira 19 Fevereiro 2010, às 08:59:57, Ville M. Vainio escreveu:
> >> Anyone done a version of QSignalMapper that supports std::function
> >> mapping, instead of the more pedestrian int, string, QWidget mapping?
> >
> > Yes. I've implemented a solution for that, but it requires C++0x. I will
> > not provide a C++98/03 equivalent because it's just too much code.
> >
> > However, this is not yet in Qt (not even 4.7). It's only my research
> > stuff.
>
> Have you pushed this research stuff to some repo so that people could
> play with it?
No, I have not.
But I think it's a good idea. I'll clean up my patches and publish a branch of
Qt.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100219/89979a91/attachment.bin
More information about the Qt-interest-old
mailing list