Adapt to KXmlGui API changes, make sure to update kxmlgui.