Member Function Documentation
NameCollisionNode::NameCollisionNode(InnerNode * child)
Constructs a name collision node containing child as its first child. The parent of child becomes this node's parent.
NameCollisionNode::~NameCollisionNode()
The destructor does nothing.
void NameCollisionNode::addCollision(InnerNode * child)
Add a collision to this collision node. child has the same name as the other children in this collision node. child becomes the current child.
void NameCollisionNode::addLinkTarget(const QString & t, const QString & v)
const Node * NameCollisionNode::applyModuleIdentifier(const Node * origin) const [virtual]
Reimplemented from Node::applyModuleIdentifier().
This node is a name collision node. Find a child of this node such that the child's QML module identifier matches origin's QML module identifier. Return the matching node, or return this node if there is no matching node.
void NameCollisionNode::clearCurrentChild() [virtual]
Reimplemented from Node::clearCurrentChild().
Sets the current child to 0. This should be called at the end of each file, because the current child is only valid within the file where the child is defined.
const InnerNode * NameCollisionNode::currentChild() const
Returns a pointer to the current child, which may be 0.
See also setCurrentChild().
Find any of this collision node's children that has type t and subtype st and return a pointer to it.
bool NameCollisionNode::isCollisionNode() const [virtual]
bool NameCollisionNode::isQmlNode() const [virtual]
Reimplemented from Node::isQmlNode().
Returns true if this collision node's current node is a QML node.
const QMap<QString, QString> & NameCollisionNode::linkTargets() const
void NameCollisionNode::setCurrentChild(InnerNode * child) [virtual]
Reimplemented from InnerNode::setCurrentChild().
Sets the current child to child. The current child is valid only within the file where it is defined.
See also currentChild().