1QDomComment(3qt)                                              QDomComment(3qt)
2
3
4

NAME

6       QDomComment - Represents an XML comment
7

SYNOPSIS

9       All the functions in this class are reentrant when Qt is built with
10       thread support.</p>
11
12       #include <qdom.h>
13
14       Inherits QDomCharacterData.
15
16   Public Members
17       QDomComment ()
18       QDomComment ( const QDomComment & x )
19       QDomComment & operator= ( const QDomComment & x )
20       ~QDomComment ()
21       virtual QDomNode::NodeType nodeType () const
22       virtual bool isComment () const
23

DESCRIPTION

25       The QDomComment class represents an XML comment.
26
27       A comment in the parsed XML such as this:
28
29           <!-- this is a comment -->
30       is represented by QDomComment objects in the parsed Dom tree.
31
32       For further information about the Document Object Model see
33       http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
34       Level-2-Core/. For a more general introduction of the DOM
35       implementation see the QDomDocument documentation.
36
37       See also XML.
38

MEMBER FUNCTION DOCUMENTATION

QDomComment::QDomComment ()

41       Constructs an empty comment. To construct a comment with content, use
42       the QDomDocument::createComment() function.
43

QDomComment::QDomComment ( const QDomComment & x )

45       Constructs a copy of x.
46
47       The data of the copy is shared (shallow copy): modifying one node will
48       also change the other. If you want to make a deep copy, use
49       cloneNode().
50

QDomComment::~QDomComment ()

52       Destroys the object and frees its resources.
53

bool QDomComment::isComment () const [virtual]

55       Returns TRUE.
56
57       Reimplemented from QDomNode.
58

QDomNode::NodeType QDomComment::nodeType () const [virtual]

60       Returns CommentNode.
61
62       Reimplemented from QDomCharacterData.
63

QDomComment & QDomComment::operator= ( const QDomComment & x )

65       Assigns x to this DOM comment.
66
67       The data of the copy is shared (shallow copy): modifying one node will
68       also change the other. If you want to make a deep copy, use
69       cloneNode().
70
71

SEE ALSO

73       http://doc.trolltech.com/qdomcomment.html
74       http://www.trolltech.com/faq/tech.html
75
77       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
78       license file included in the distribution for a complete license
79       statement.
80

AUTHOR

82       Generated automatically from the source code.
83

BUGS

85       If you find a bug in Qt, please report it as described in
86       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
87       help you. Thank you.
88
89       The definitive Qt documentation is provided in HTML format; it is
90       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
91       web browser. This man page is provided as a convenience for those users
92       who prefer man pages, although this format is not officially supported
93       by Trolltech.
94
95       If you find errors in this manual page, please report them to qt-
96       bugs@trolltech.com.  Please include the name of the manual page
97       (qdomcomment.3qt) and the Qt version (3.3.8).
98
99
100
101Trolltech AS                    2 February 2007               QDomComment(3qt)
Impressum