Modernise code base in a couple of classes
- Un-nest Private class and make d-ptr a unique_ptr, KF6 task: https://phabricator.kde.org/T13924
- Remove Q_PRIVATE_SLOT() usage where possible and remove the k prefix from slot names
- Prefix member variable names with m_
NO_CHANGELOG