You can easily do that in the C++ part of your program.
Qt has a couple of XML processing APIs, e.g. QXmlStreamReader and QXmlStreamWriter or QDomDocument.
If you also need this as a model, then you might want to consider writing a list model that internally loads and saves XML
Cheers,
_
Bookmarks