Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QDomNode QDomNode::firstChild (  )  const [inherited]

Returns the first child of the node. If there is no child node, a null node is returned. Changing the returned node will also change the node in the document tree.

See also:
lastChild() childNodes()

Definition at line 2403 of file qdom.cpp.

References QDomNode::QDomNode().

Referenced by QDomNode::firstChildElement(), and QAbstractFormBuilder::load().

{
    if (!impl)
        return QDomNode();
    return QDomNode(IMPL->first);
}


Generated by  Doxygen 1.6.0   Back to index