Igor, have you read "New Signal Slot Syntax in Qt 5" article (
http://qt-project.org/wiki/New_Signal_Slot_Syntax)? It might shed light on
some of your questions.

On Tue, Dec 16, 2014 at 10:49 AM, Igor Mironchik <igor.mironc...@gmail.com>
wrote:
>
> Hi guys,
>
> Qt has cool new syntax now. But some things doesn't support it yet.
>
> For example look at QMenu::addAction. There is now overload with
> PointerToMemberFunction.
>
> And I have two questions:
>
> Is it planned to add this support,
>
> and how can I use PointerToMemberFunction in my own widgets?
>
> I.e. I want to have, for example, next method in my widget:
>
> Something * addSomething( QObject * receiver, PointerToMemberFunction
> method );
>
> Where is PointerToMemberFunction declared, what should I include?
>
> Thank you.
>
> --
> Best Regards,
> Igor Mironchik.
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to