![]() |
Qt 6.x
The Qt SDK
|
#include <qdom_p.h>
Inheritance diagram for QDomElementPrivate:
Collaboration diagram for QDomElementPrivate:Public Attributes | |
| QDomNamedNodeMapPrivate * | m_attr |
Public Attributes inherited from QDomNodePrivate | |
| QAtomicInt | ref |
| QDomNodePrivate * | prev |
| QDomNodePrivate * | next |
| QDomNodePrivate * | ownerNode |
| QDomNodePrivate * | first |
| QDomNodePrivate * | last |
| QString | name |
| QString | value |
| QString | prefix |
| QString | namespaceURI |
| bool | createdWithDom1Interface: 1 |
| bool | hasParent: 1 |
| int | lineNumber |
| int | columnNumber |
| QDomElementPrivate::QDomElementPrivate | ( | QDomDocumentPrivate * | d, |
| QDomNodePrivate * | parent, | ||
| const QString & | name | ||
| ) |
| QDomElementPrivate::QDomElementPrivate | ( | QDomDocumentPrivate * | d, |
| QDomNodePrivate * | parent, | ||
| const QString & | nsURI, | ||
| const QString & | qName | ||
| ) |
Definition at line 3842 of file qdom.cpp.
References QDomNodePrivate::createdWithDom1Interface, QString::isNull(), m_attr, QDomNodePrivate::namespaceURI, QDomNodePrivate::prefix, and qt_split_namespace().
Here is the call graph for this function:| QDomElementPrivate::QDomElementPrivate | ( | QDomElementPrivate * | n, |
| bool | deep | ||
| ) |
Definition at line 3852 of file qdom.cpp.
References QDomNamedNodeMapPrivate::clone(), m_attr, QBasicAtomicInteger< T >::ref(), and QDomNamedNodeMapPrivate::ref.
Here is the call graph for this function:| QDomElementPrivate::~QDomElementPrivate | ( | ) |
Definition at line 3860 of file qdom.cpp.
References QBasicAtomicInteger< T >::deref(), m_attr, and QDomNamedNodeMapPrivate::ref.
Here is the call graph for this function:Definition at line 3874 of file qdom.cpp.
References m_attr, and QDomNamedNodeMapPrivate::namedItem().
Here is the call graph for this function:| QDomAttrPrivate * QDomElementPrivate::attributeNode | ( | const QString & | name | ) |
Definition at line 3934 of file qdom.cpp.
References m_attr, and QDomNamedNodeMapPrivate::namedItem().
Here is the call graph for this function:| QDomAttrPrivate * QDomElementPrivate::attributeNodeNS | ( | const QString & | nsURI, |
| const QString & | localName | ||
| ) |
Definition at line 3939 of file qdom.cpp.
References m_attr, and QDomNamedNodeMapPrivate::namedItemNS().
Here is the call graph for this function:| QString QDomElementPrivate::attributeNS | ( | const QString & | nsURI, |
| const QString & | localName, | ||
| const QString & | defValue | ||
| ) | const |
Definition at line 3883 of file qdom.cpp.
References m_attr, and QDomNamedNodeMapPrivate::namedItemNS().
Here is the call graph for this function:
|
inline |
|
overridevirtual |
Reimplemented from QDomNodePrivate.
| bool QDomElementPrivate::hasAttribute | ( | const QString & | name | ) |
Definition at line 3973 of file qdom.cpp.
References QDomNamedNodeMapPrivate::contains(), and m_attr.
Here is the call graph for this function:Definition at line 3978 of file qdom.cpp.
References QDomNamedNodeMapPrivate::containsNS(), and m_attr.
Here is the call graph for this function:
|
inline |
Definition at line 326 of file qdom_p.h.
References QDomNamedNodeMapPrivate::length(), and m_attr.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from QDomNodePrivate.
Definition at line 327 of file qdom_p.h.
References QDomNode::ElementNode.
Definition at line 3927 of file qdom.cpp.
References m_attr, and QDomNamedNodeMapPrivate::removeNamedItem().
Here is the call graph for this function:| QDomAttrPrivate * QDomElementPrivate::removeAttributeNode | ( | QDomAttrPrivate * | oldAttr | ) |
Definition at line 3968 of file qdom.cpp.
References m_attr, QDomNodePrivate::nodeName(), and QDomNamedNodeMapPrivate::removeNamedItem().
Here is the call graph for this function:
|
overridevirtual |
depth is used for indentation, it seems.
If we still have QDom, optimize this so that we only declare namespaces that are not yet declared. We loose default namespace mappings, so maybe we should rather store the information that we get from startPrefixMapping()/endPrefixMapping() and use them. Modifications becomes more complex then, however.
We cannot do this in a patch release because it would require too invasive changes, and hence possibly behavioral changes.
Reimplemented from QDomNodePrivate.
Definition at line 3999 of file qdom.cpp.
References QVarLengthArray< T, Prealloc >::begin(), QString::compare(), encodeText(), QVarLengthArray< T, Prealloc >::end(), Qt::endl(), QDuplicateTracker< T, Prealloc >::hasSeen(), QString::isEmpty(), QMultiHash< Key, T >::isEmpty(), QString::isNull(), QDomNodePrivate::isText(), QDomNodePrivate::last, m_attr, QDomNamedNodeMapPrivate::map, QDomNodePrivate::name, QDomNodePrivate::namespaceURI, QDomNodePrivate::next, QDomNodePrivate::prefix, QDomNodePrivate::prev, QVarLengthArray< T, Prealloc >::push_back(), Q_UNUSED, QStringLiteral, QVarLengthArray< T, Prealloc >::reserve(), QDomNodePrivate::save(), and QMultiHash< Key, T >::size().
Here is the call graph for this function:Definition at line 3892 of file qdom.cpp.
References m_attr, QDomNamedNodeMapPrivate::namedItem(), QDomNodePrivate::ownerDocument(), QDomNamedNodeMapPrivate::setNamedItem(), and QDomNodePrivate::setNodeValue().
Here is the call graph for this function:| QDomAttrPrivate * QDomElementPrivate::setAttributeNode | ( | QDomAttrPrivate * | newAttr | ) |
Definition at line 3944 of file qdom.cpp.
References m_attr, QDomNamedNodeMapPrivate::namedItem(), QDomNodePrivate::nodeName(), QDomNamedNodeMapPrivate::setNamedItem(), and QDomNodePrivate::setParent().
Here is the call graph for this function:| QDomAttrPrivate * QDomElementPrivate::setAttributeNodeNS | ( | QDomAttrPrivate * | newAttr | ) |
Definition at line 3956 of file qdom.cpp.
References QString::isNull(), m_attr, QDomNodePrivate::name, QDomNamedNodeMapPrivate::namedItemNS(), QDomNodePrivate::namespaceURI, QDomNodePrivate::prefix, and QDomNamedNodeMapPrivate::setNamedItem().
Here is the call graph for this function:| void QDomElementPrivate::setAttributeNS | ( | const QString & | nsURI, |
| const QString & | qName, | ||
| const QString & | newValue | ||
| ) |
Definition at line 3908 of file qdom.cpp.
References m_attr, QDomNamedNodeMapPrivate::namedItemNS(), QDomNodePrivate::ownerDocument(), QDomNodePrivate::prefix, qt_split_namespace(), QDomNamedNodeMapPrivate::setNamedItem(), and QDomNodePrivate::setNodeValue().
Referenced by QDomBuilder::startElement().
Here is the call graph for this function:
Here is the caller graph for this function:| QString QDomElementPrivate::text | ( | ) |
Definition at line 3983 of file qdom.cpp.
References QDomNodePrivate::first, QDomNodePrivate::nodeValue(), and text().
Referenced by text().
Here is the call graph for this function:
Here is the caller graph for this function:| QDomNamedNodeMapPrivate* QDomElementPrivate::m_attr |
Definition at line 332 of file qdom_p.h.
Referenced by QDomElementPrivate(), QDomElementPrivate(), QDomElementPrivate(), ~QDomElementPrivate(), attribute(), attributeNode(), attributeNodeNS(), attributeNS(), attributes(), hasAttribute(), hasAttributeNS(), hasAttributes(), removeAttribute(), removeAttributeNode(), save(), setAttribute(), setAttributeNode(), setAttributeNodeNS(), and setAttributeNS().