Go to the documentation of this file. 1 #ifndef MYTHXMLSERIALISER_H
2 #define MYTHXMLSERIALISER_H
5 #include <QXmlStreamWriter>
10 #define XML_SERIALIZER_VERSION "1.1"
19 void AddValue (
const QString&
Name,
const QVariant& Value);
22 void AddList (
const QString&
Name,
const QVariant& Values);
23 void AddMap (
const QString&
Name,
const QVariantMap& Map);
25 const QMetaObject* MetaObject,
const QMetaProperty* MetaProperty);
void AddValue(const QString &Name, const QVariant &Value)
static QString GetContentName(const QString &Name, const QMetaObject *MetaObject)
FIXME We shouldn't be doing this on the fly.
void AddObject(const QString &Name, const QVariant &Value)
void AddQObject(const QObject *Object)
static QString GetItemName(const QString &Name)
void AddMap(const QString &Name, const QVariantMap &Map)
QXmlStreamWriter m_writer
void AddList(const QString &Name, const QVariant &Values)
void AddProperty(const QString &Name, const QVariant &Value, const QMetaObject *MetaObject, const QMetaProperty *MetaProperty)
void AddStringList(const QVariant &Values)
MythXMLSerialiser(const QString &Name, const QVariant &Value)