Go to the documentation of this file. 1 #ifndef MYTHXMLPLISTSERIALISER_H
2 #define MYTHXMLPLISTSERIALISER_H
5 #include <QXmlStreamWriter>
10 #define XML_PLIST_SERIALIZER_VERSION "1.1"
19 void AddValue (
const QString&
Name,
const QVariant& Value,
bool NeedKey =
true);
22 void AddList (
const QString&
Name,
const QVariantList& Values);
23 void AddMap (
const QString&
Name,
const QVariantMap& Map);
25 const QMetaObject* MetaObject,
const QMetaProperty* MetaProperty);
void AddQObject(const QString &Name, const QObject *Object)
void AddMap(const QString &Name, const QVariantMap &Map)
static QString GetItemName(const QString &Name)
QXmlStreamWriter m_writer
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)
MythXMLPListSerialiser(const QString &Name, const QVariant &Value)
void AddList(const QString &Name, const QVariantList &Values)
void AddStringList(const QString &Name, const QVariant &Values)
void AddValue(const QString &Name, const QVariant &Value, bool NeedKey=true)
void AddProperty(const QString &Name, const QVariant &Value, const QMetaObject *MetaObject, const QMetaProperty *MetaProperty)