ObjectName Object

This object's methods provide access to properties that make up a multi-property object name. It allows adding properties, changing values, getting a list of property names and converting the name to a multiproperty name string.

ObjectName.addProperty(propertyName, propertyValue)

This function adds or replaces the property with the propertyName and the property value given as propertyValue. The property value has to be either a String for strict matching properties, a Squish.WildCardPropertyValue Squish.WildCardPropertyValue(wildcardString) or a Squish.RegExPropertyValue Squish.RegExPropertyValue(regexString).

PropertyValue ObjectName.getPropertyValue(propertyName)

This function returns the value of the property with the propertyName or undefined if the object name does not have that property. The returned value is either a String for strict matching properties, a Squish.WildCardPropertyValue Squish.WildCardPropertyValue(wildcardString) or a Squish.RegExPropertyValue Squish.RegExPropertyValue(regexString).

ObjectName.removeProperty(propertyName)

This function removes the property with the propertyName from this object name.

ListOfStrings ObjectName.getPropertyNames()

This function returns the list of property names currently part of this object name.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Search Results