C++/Qt: Exports QTableWidgets into a XML file.