#include <ioXML.h>
Public Member Functions | |
QDomDocument * | loadConfigFile (const QString &) |
Load an xml configuration file. | |
QDomDocument * | loadFile (const QString &) |
Load an xml file. | |
bool | saveFile (const QDomDocument &) |
Save an xml file. | |
Static Public Member Functions | |
static IOxml * | Instance () |
Get a pointer to the singleton instance. | |
Protected Member Functions | |
IOxml () | |
protected constructor |
Singleton class providing global access to XML input and output.
IOxml * IOxml::Instance | ( | ) | [static] |
Get a pointer to the singleton instance.
QDomDocument * IOxml::loadConfigFile | ( | const QString & | fileName | ) |
Load an xml configuration file.
NB: Caller is responsible for deleting the returned QDomDocument object!
QDomDocument * IOxml::loadFile | ( | const QString & | type | ) |
Load an xml file.
NB: Caller is responsible for deleting the returned QDomDocument object!
bool IOxml::saveFile | ( | const QDomDocument & | doc | ) |
Save an xml file.