port kpDocument away from kdelibs4support

Authored by sandsmark on Jul 15 2019, 12:49 PM.