Skip to content

Port signal/slot that use action_data struct to PMF/Functor syntax

Ahmad Samir requested to merge work/ahmad/action-data into master

We have to use a std::function because some of the lambdas have captures, as using a plain function pointer 'void (*func)(bool)' won't work.

================

action_data: use enums instead of bool members to improve reability

Also use default args, it's QAction and Enabled by default.

Merge request reports