QDomNotation(3qt)
π QDomNotation β a whole manual page, bestie π
okay so we're doing the QDomNotation(3qt) page today and honestly? it's giving "small but mighty." stay with me.
β¨ NAME β¨
QDomNotation β bestie, it Represents an XML notation. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
first things first, the vibe check:
All the functions in this class are reentrant when Qt is built with thread support.
(that's not me being extra, that's a real sentence and it matters, okay? β¨)
to even get in the door:
#include <qdom.h>
Inherits QDomNode. yes queen, it's a node. it said "i am my father's daughter." π
π¦ Public Members π¦
QDomNotation ()
QDomNotation ( const QDomNotation & x )
QDomNotation & operator= ( const QDomNotation & x )
~QDomNotation ()
QString publicId () const
QString systemId () const
virtual QDomNode::NodeType nodeType () const
virtual bool isNotation () const
look at that lineup. no skips. π
π DESCRIPTION π
The QDomNotation class represents an XML notation. (yes we said that in NAME, it's called branding, let her live.)
so what IS a notation, you ask? okay so:
- a notation either declares, by name, the format of an unparsed entity β that's section 4.7 of the XML 1.0 specification, iykyk
- or it's used for formal declaration of processing instruction targets β that's section 2.6 of the XML 1.0 specification
ngl, DOM does not support editing notation nodes. so they are read-only. no edits, no glow-ups, no nothing. periodt. π
also β and this is the part that gets people β a notation node does not have any parent. it's an orphan. main character energy, honestly. π
you can retrieve the publicId() and the systemId() from a notation node, and that's your whole toolbox bestie.
for further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/ β and for a more general introduction of the DOM implementation see the QDomDocument documentation.
See also: XML.
π MEMBER FUNCTION DOCUMENTATION π
QDomNotation::QDomNotation ()
Constructor. that's the whole thing. she's born. πΌ
QDomNotation::QDomNotation ( const QDomNotation & x )
Constructs a copy of x.
β οΈ The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
so like... they're twins. same brain cell. change one, you changed both. if you wanted a separate person, cloneNode() is right there. π
QDomNotation::~QDomNotation ()
Destroys the object and frees its resources. she said goodbye and she meant it. π
bool QDomNotation::isNotation () const [virtual]
Returns TRUE.
that's literally the entire documentation. she's confident. she doesn't elaborate.
Reimplemented from QDomNode.
QDomNode::NodeType QDomNotation::nodeType () const [virtual]
Returns NotationNode.
Reimplemented from QDomNode. (short king behavior but make it accurate β¨)
QDomNotation & QDomNotation::operator= ( const QDomNotation & x )
Assigns x to this DOM notation.
β οΈ The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
yes, same warning as the copy constructor. no, i'm not skipping it. the manual said it twice, so i say it twice. consistency is free. π
QString QDomNotation::publicId () const
Returns the public identifier of this notation. π«Ά
QString QDomNotation::systemId () const
Returns the system identifier of this notation. π«Ά
π SEE ALSO π
π COPYRIGHT π
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.
β AUTHOR β
Generated automatically from the source code. (yes she was born from a script. still iconic. still ate. π)
π BUGS π
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. π«Ά
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. π
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qdomnotation.3qt) and the Qt version (3.3.8).
π§ okay so that's the whole page, bestie. go forth and notation. π
and a little sign-off from the bottom of the page itself: this was Trolltech AS, dated 2 February 2007, from the QDomNotation(3qt) manual β version 3.3.8. slay. π
β¨
π¦ where this page comes from
- fedora 43: qt3-devel-docs 3.3.8b-102.fc43 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- fedora 44: qt3-devel-docs 3.3.8b-103.fc44 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms