QDomText(3qt)
π QDomText π
okay bestie, welcome to the qdomtext page β it's the one about text data in your parsed XML document, and yes it's giving β¨ Qt 3 era β¨ but we're gonna make it make sense.
πΈ NAME πΈ
QDomText β literally just represents text data in the parsed XML document, no cap π
π¦ SYNOPSIS π¦
okay so first the lil heads-up that matters:
All the functions in this class are reentrant when Qt is built with thread support. periodt π₯
#include <qdom.h>
Inherits QDomCharacterData.
Inherited by QDomCDATASection.
β¨ Public Members β¨
QDomText ()QDomText ( const QDomText & x )QDomText & operator= ( const QDomText & x )~QDomText ()QDomText splitText ( int offset )virtual QDomNode::NodeType nodeType () constvirtual bool isText () const
π DESCRIPTION π
The QDomText class represents text data in the parsed XML document. that's it, that's the whole vibe π«Ά
You can split the text in a QDomText object over two QDomText objecs with splitText(). (yes bestie, the original says "objecs" and I'm keeping it, it's iconic π)
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/. For a more general introduction of the DOM implementation see the QDomDocument documentation.
See also XML.
π MEMBER FUNCTION DOCUMENTATION π
QDomText::QDomText ()
Constructs an empty QDomText object. a whole nothing-burger, lowkey π
To construct a QDomText with content, use QDomDocument::createTextNode().
QDomText::QDomText ( const QDomText & 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 holding hands, not twinning fr fr π
QDomText::~QDomText ()
Destroys the object and frees its resources. bye girl ππ
bool QDomText::isText () const [virtual]
Returns TRUE.
Reimplemented from QDomNode.
like yes obviously she's text, main character energy π
QDomNode::NodeType QDomText::nodeType () const [virtual]
Returns TextNode.
Reimplemented from QDomCharacterData.
Reimplemented in QDomCDATASection.
QDomText & QDomText::operator= ( const QDomText & x )
Assigns x to this DOM text.
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().
(same warning as the copy ctor, bestie, they're a matching set π)
QDomText QDomText::splitText ( int offset )
Splits this DOM text object into two QDomText objects. This object keeps its first offset characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters.
The function returns the newly created object.
See also QDomNode::normalize().
like a glow-up split, one girl becomes two πβ¨
π 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. (no human author to stan, sorry bestie π)
π 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 (qdomtext.3qt) and the Qt version (3.3.8).
okay that's the whole page bestie, you ate π this was QDomText(3qt), brought to you by Trolltech AS, dated 2 February 2007 β and that's the sign-off, mwah πβ¨
π¦ 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