|
| QgsProjectPropertyKey (const QString &name=QString()) |
| Create a new QgsProjectPropertyKey with the specified identifier. More...
|
|
| ~QgsProjectPropertyKey () override |
|
QgsProjectPropertyKey * | addKey (const QString &keyName) |
| Adds the specified property key as a sub-key. More...
|
|
virtual void | clear () |
| Resets the property to a default, empty state. More...
|
|
virtual void | clearKeys () |
| Deletes any sub-nodes from the property. More...
|
|
int | count () const |
| Returns the number of sub-keys contained by this property. More...
|
|
void | dump (int tabs=0) const override |
| Dumps out the keys and values. More...
|
|
void | entryList (QStringList &entries) const |
| Returns any sub-keys contained by this property that do not contain other keys. More...
|
|
QgsProjectProperty * | find (const QString &propertyName) const |
| Attempts to find a property with a matching sub-key name. More...
|
|
bool | isEmpty () const |
| Returns true if this property contains no sub-keys. More...
|
|
bool | isKey () const override |
| Returns true if the property is a QgsProjectPropertyKey. More...
|
|
bool | isLeaf () const override |
| Returns true if property is a leaf node. More...
|
|
bool | isValue () const override |
| Returns true if the property is a QgsProjectPropertyValue. More...
|
|
QString | name () const |
| The name of the property is used as identifier. More...
|
|
bool | readXml (const QDomNode &keyNode) override |
| Restores the property hierarchy from a specified DOM node. More...
|
|
void | removeKey (const QString &keyName) |
| Removes the specified key. More...
|
|
void | setName (const QString &name) |
| The name of the property is used as identifier. More...
|
|
QgsProjectPropertyValue * | setValue (const QString &name, const QVariant &value) |
| Sets the value associated with this key. More...
|
|
QgsProjectPropertyValue * | setValue (const QVariant &value) |
| Set the value associated with this key. More...
|
|
void | subkeyList (QStringList &entries) const |
| Returns any sub-keys contained by this property which themselves contain other keys. More...
|
|
QVariant | value () const override |
| If this key has a value, it will be stored by its name in its properties. More...
|
|
bool | writeXml (const QString &nodeName, QDomElement &element, QDomDocument &document) override |
| Writes the property hierarchy to a specified DOM element. More...
|
|
| QgsProjectProperty () |
|
virtual | ~QgsProjectProperty ()=default |
|
virtual void | dump (int tabs=0) const =0 |
| Dumps out the keys and values. More...
|
|
virtual bool | isKey () const =0 |
| Returns true if the property is a QgsProjectPropertyKey. More...
|
|
virtual bool | isLeaf () const =0 |
| Returns true if property is a leaf node. More...
|
|
virtual bool | isValue () const =0 |
| Returns true if the property is a QgsProjectPropertyValue. More...
|
|
virtual bool | readXml (const QDomNode &keyNode)=0 |
| Restores the property hierarchy from a specified DOM node. More...
|
|
virtual QVariant | value () const =0 |
| Returns the node's value. More...
|
|
virtual bool | writeXml (const QString &nodeName, QDomElement &element, QDomDocument &document)=0 |
| Writes the property hierarchy to a specified DOM element. More...
|
|