KFilePreviewGenerator: modernise code base
- Un-nest Private class and make the d-ptr a unique_ptr, KF6 task: https://phabricator.kde.org/T13924
- Declare and initialize member variables at the same time
- Replace usage of QObject::sender() by passing a pointer to it as an arg
- Remove Q_PRIVATE_SLOT() usage, now redundant