QDomDocumentType(3qt)
π NAME π
QDomDocumentType β the representation of the DTD in the document tree π³β¨
π¦ SYNOPSIS π¦
okay so first thing, bestie, important deets: all the functions in this class are reentrant when Qt is built with thread support. (and yeah there's a stray </p> just vibing in the original, we love a lil typo moment π)
#include <qdom.h>
It inherits QDomNode π§¬
π Public Members π
QDomDocumentType ()QDomDocumentType ( const QDomDocumentType & n )QDomDocumentType & operator= ( const QDomDocumentType & n )~QDomDocumentType ()virtual QString name () constvirtual QDomNamedNodeMap entities () constvirtual QDomNamedNodeMap notations () constvirtual QString publicId () constvirtual QString systemId () constvirtual QString internalSubset () constvirtual QDomNode::NodeType nodeType () constvirtual bool isDocumentType () const
π DESCRIPTION π
So QDomDocumentType is literally the representation of the DTD in the document tree. that's the whole vibe. π
What it does for you: it gives you read-only access to some of the data structures in the DTD. It can hand you a map of all entities() and notations(). Plus, name() returns the name of the document type as specified in the <!DOCTYPE name> tag β iconic behaviour, no notes. π
This class also provides the publicId(), systemId() and internalSubset() functions.
lowkey go look at QDomDocument and XML too, they're the supporting cast π«Ά
π MEMBER FUNCTION DOCUMENTATION π
QDomDocumentType::QDomDocumentType ()
Creates an empty QDomDocumentType object. blank slate, main character energy β¨
QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )
Constructs a copy of n.
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want a deep copy, use cloneNode(). no cap, this one gets people every time π
QDomDocumentType::~QDomDocumentType ()
Destroys the object and frees its resources. rest in peace queen π«‘π
QDomNamedNodeMap QDomDocumentType::entities () const [virtual]
Returns a map of all entities described in the DTD. π
QString QDomDocumentType::internalSubset () const [virtual]
Returns the internal subset of the document type, or QString::null if there is no internal subset.
bestie pls also peeppublicId()andsystemId()πΈ
bool QDomDocumentType::isDocumentType () const [virtual]
This function overloads QDomNode::isDocumentType().
see alsonodeType()andQDomNode::toDocumentType()
Reimplemented from QDomNode.
QString QDomDocumentType::name () const [virtual]
Returns the name of the document type as specified in the <!DOCTYPE name> tag.
see also nodeName()
QDomNode::NodeType QDomDocumentType::nodeType () const [virtual]
Returns DocumentTypeNode. that's it, that's the answer π
see alsoisDocumentType()andQDomNode::toDocumentType()
Reimplemented from QDomNode.
QDomNamedNodeMap QDomDocumentType::notations () const [virtual]
Returns a map of all notations described in the DTD. πΊοΈβ¨
QDomDocumentType & QDomDocumentType::operator= ( const QDomDocumentType & n )
Assigns n to this document type.
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want a deep copy, use cloneNode(). fr fr do not forget this π¨
QString QDomDocumentType::publicId () const [virtual]
Returns the public identifier of the external DTD subset, or QString::null if there is no public identifier.
see alsosystemId(),internalSubset(), andQDomImplementation::createDocumentType()
QString QDomDocumentType::systemId () const [virtual]
Returns the system identifier of the external DTD subset, or QString::null if there is no system identifier.
see alsopublicId(),internalSubset(), andQDomImplementation::createDocumentType()
π₯ 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. (so technically a robot wrote it and i'm just the messenger π)
π 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. π«Ά (a good bug report is literally a love letter, iykyk)
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 (qdomdocumenttype.3qt) and the Qt version (3.3.8). don't be shy, they want the receipts π
and that's the whole thing bestie, slay π β¨ this was Trolltech AS, dated 2 February 2007, and the Qt version in question is 3.3.8 β periodt. ππ
π¦ 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