Fix all kinds of warnings, deprecations and messy logic
- Port Qt4 connects
- Use QStringLiteral where appropriate
- Use Qt::endl instead of endl
- Fix mess with deprecated insertMulti method and allocation of tmp containers. The Qt documentation also strictly advises against using this method.
- Remove unneeded and deprecated macro
- Handle missing enum values. They were added some time after.
Edited by Alexander Lohnau