Refactoring #1887

Switch to new signal/slot mechanism in Qt (since c++11)

Added by herck almost 2 years ago.

Status:BacklogStart date:10 Nov 2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The new signal/slot mechanism doesn't require slots to be declared as such (they can be any callable).
Removing the explicit 'slot' declaration also relaxes the requirements on the argument types of the slot (they no longer need to be registered in the Qt metatype system).
To still be able to easily see if a method is used solely as a slot, we could impose the naming convention:
Every method that is only used as a slot, should start with 'on'.

Also available in: Atom PDF