#include <xmlfile.h>
Public Member Functions | |
XmlFile (QIODevice *device) | |
bool | save (const World *world) |
bool | load (World *world, const Factory *factory) |
QString | errorString () const |
XmlFile | ( | QIODevice * | device | ) |
bool save | ( | const World * | world | ) |
Save world to XML file
world | World to save |
Load world from XML file
world | World to which file should be loaded (should be empty) | |
factory | Factory for creating new objects |