TQDomText(3qt)

NAME
TQDomText - Represents text data in the parsed XML document

SYNOPSIS
All the functions in this class are reentrant when TQt is built with thread support.</p>

#include <tqdom.h>

Inherits TQDomCharacterData.

Inherited by TQDomCDATASection.

  Public Members
TQDomText ()
TQDomText ( const TQDomText & x )
TQDomText & operator= ( const TQDomText & x )
~TQDomText ()
TQDomText splitText ( int offset )
virtual TQDomNode::NodeType nodeType () const
virtual bool isText () const

DESCRIPTION
The TQDomText class represents text data in the parsed XML document.

You can split the text in a TQDomText object over two TQDomText objecs with splitText().

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 TQDomDocument documentation.

See also XML.

MEMBER FUNCTION DOCUMENTATION

TQDomText::TQDomText ()
Constructs an empty TQDomText object.

To construct a TQDomText with content, use TQDomDocument::createTextNode().

TQDomText::TQDomText ( const TQDomText & 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().

TQDomText::~TQDomText ()
Destroys the object and frees its resources.

bool TQDomText::isText () const [virtual]
Returns true.

Reimplemented from TQDomNode.

TQDomNode::NodeType TQDomText::nodeType () const [virtual]
Returns TextNode.

Reimplemented from TQDomCharacterData.

Reimplemented in TQDomCDATASection.

TQDomText & TQDomText::operator= ( const TQDomText & 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().

TQDomText TQDomText::splitText ( int offset )
Splits this DOM text object into two TQDomText 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 TQDomNode::normalize().

SEE ALSO
http://doc.trolltech.com/tqdomtext.html http://www.trolltech.com/faq/tech.html

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.

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 TQt documentation is provided in HTML format; it is located at $TQTDIR/doc/html and can be read using TQt 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 (tqdomtext.3qt) and the Qt version (3.3.8).