With Qt5's new connection syntax, method pointers and functors are connected directly. There's no need to declare slots.