Home · Overviews · Reference · Classes |
The QMakeObject class represents a node in the QBuild project tree. More...
#include <QMakeObject>
Inherited by Project and StartupFile.
The QMakeObject class represents a node in the QBuild project tree.
This class is NOT generally threadsafe. Once QMakeObject::setReadOnly() has been called the object and its internal structure can no longer change and thus can be freely accessed concurrently from multiple threads.
QMakeObject is reenterent.
This class represents an object in QBuild. At it's simplest, an object can be created like this.
foo.bar=1 foo.baz=2
This causes an object with path foo to be created. It has properties bar and baz. Objects can be nested. All QBuild variables are objects so QMakeObject is used to represent variables.
Returns the fully-qualified name of the object.
Append value to the items the object represents. The ctxt object is for debugging purposes.
Returns true if the object has a property called property.
Returns the name of the object relative to its parent.
See also setName().
Returns an object specified by the absolute path path.
path is in the form [<project path>/]<object path> where <project path> is / deliminated and <object path> is . deliminated. Absence of the project path means the current project.
Returns 0 if no such object. The ctxt object is for debugging.
Returns the parent object.
Returns a list of the properties the object has.
Returns an object representing property property.
Walks up the tree and returns the top parent.
Walks up the tree and returns the name of the top parent.
Set the name of the variable to path. This does not reposition the object in the heirachy, it will still have the same parent.
See also name().
Set the items the object represents to value. The ctxt object is for debugging purposes.
See also value().
For every item in value, remove that item from the items the object represents. The ctxt object is for debugging purposes.
For every item in value, append that item to the items the object represents unless it already exists. The ctxt object is for debugging purposes.
Returns the items the object represents.
See also setValue().
Returns the number of items the object represents.
Call function when this object changes.
Copyright © 2009 Nokia | Qt Extended - QBuild Maintainer Guide |