From: Manuel Nickschas Date: Tue, 18 Sep 2018 21:37:02 +0000 (+0200) Subject: modernize: Migrate action-related things to PMF connects X-Git-Tag: test-travis-01~126 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=f9efdde7f3a6004af8f834c409cfa6ae1d877692;hp=f9efdde7f3a6004af8f834c409cfa6ae1d877692 modernize: Migrate action-related things to PMF connects In our quest to get rid of the deprecated use of slots, refactor Action and ActionCollection to require pointer-to-member-function connects. Ensure nobody accidentally still uses SLOT through a static assertion. Add a convenience function to ActionCollection for adding lists of actions. While we're at it, also rework ActionCollection's optional KDE Frameworks support to simplify things. Adapt the rest of the code accordingly. ---