When moving this to tdelibs: the KPartsGenericPart class should move to libtdeparts so that it's possible to add an accessor for m_part there.