Modernize code: Replace remaining private slots with lambdas

2 jobs for master
Status Job ID Name Coverage
  Build
canceled #94514
build_clazy_clang_tidy

canceled #94513
linux kf5-qt5 qt5.15