With https://invent.kde.org/frameworks/kparts/-/merge_requests/32 this method got deprecated,
and with https://invent.kde.org/network/konqueror/-/merge_requests/99 only the kget plugin is actually loaded.
https://invent.kde.org/network/konqueror/-/merge_requests/100 Takes care of importing the kget plugin to konqueror.