Port away from setRoleNames where easily possible
It is deprecated. Instead re-implement roleNames(). Done in places where only static roles were used.
Differential Revision: https://phabricator.kde.org/D4891