Port to new pimcommon api

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

canceled linux kf5-qt5 qt5.12 #51487