Use c++11
Since this is a C++11 codebase -- because Qt requires C++11 -- we can
- make that explicit in setting up compiler flags
- use C++11 features like
using
for type aliases - use lambda and modern signal-connections
- use constexpr
This branch is for a bunch of small C++11-style fixes to the codebase.
Edited by Adriaan de Groot