Prepare link interface to clean-up in KParts
KF6::Completion is exposed in ktexteditor/command.h (using KCompletion), KF6::KIOWidgets has classes used internally.
KParts is going to switch public interface from KF6::KIOWidgets to KF6::KIOCore, with respective less transient public linkage introduced.