18 #ifndef QGSOBJECTCUSTOMPROPERTIES_H 19 #define QGSOBJECTCUSTOMPROPERTIES_H 23 #include "qgis_core.h" 45 QStringList keys()
const;
48 void setValue(
const QString &key,
const QVariant &value );
51 QVariant value(
const QString &key,
const QVariant &defaultValue = QVariant() )
const;
54 void remove(
const QString &key );
62 void readXml(
const QDomNode &parentNode,
const QString &keyStartsWith = QString() );
65 void writeXml( QDomNode &parentNode, QDomDocument &doc )
const;
69 QMap<QString, QVariant>
mMap;
73 #endif // QGSOBJECTCUSTOMPROPERTIES_H QMap< QString, QVariant > mMap
Simple key-value store (keys = strings, values = variants) that supports loading/saving to/from XML i...