1QDomDocumentFragment(3qt)                            QDomDocumentFragment(3qt)
2
3
4

NAME

6       QDomDocumentFragment - Tree of QDomNodes which is not usually a
7       complete QDomDocument
8

SYNOPSIS

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

DESCRIPTION

26       The QDomDocumentFragment class is a tree of QDomNodes which is not
27       usually a complete QDomDocument.
28
29       If you want to do complex tree operations it is useful to have a
30       lightweight class to store nodes and their relations.
31       QDomDocumentFragment stores a subtree of a document which does not
32       necessarily represent a well-formed XML document.
33
34       QDomDocumentFragment is also useful if you want to group several nodes
35       in a list and insert them all together as children of some node. In
36       these cases QDomDocumentFragment can be used as a temporary container
37       for this list of children.
38
39       The most important feature of QDomDocumentFragment is that it is
40       treated in a special way by QDomNode::insertAfter(),
41       QDomNode::insertBefore(), QDomNode::replaceChild() and
42       QDomNode::appendChild(): instead of inserting the fragment itself, all
43       the fragment's children are inserted.
44
45       See also XML.
46

MEMBER FUNCTION DOCUMENTATION

QDomDocumentFragment::QDomDocumentFragment ()

49       Constructs an empty document fragment.
50

QDomDocumentFragment::QDomDocumentFragment ( const QDomDocumentFragment & x )

52       Constructs a copy of x.
53
54       The data of the copy is shared (shallow copy): modifying one node will
55       also change the other. If you want to make a deep copy, use
56       cloneNode().
57

QDomDocumentFragment::~QDomDocumentFragment ()

59       Destroys the object and frees its resources.
60

bool QDomDocumentFragment::isDocumentFragment () const [virtual]

62       This function reimplements QDomNode::isDocumentFragment().
63
64       See also nodeType() and QDomNode::toDocumentFragment().
65
66       Reimplemented from QDomNode.
67

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

69       Returns DocumentFragment.
70
71       See also isDocumentFragment() and QDomNode::toDocumentFragment().
72
73       Reimplemented from QDomNode.
74

QDomDocumentFragment & QDomDocumentFragment::operator= ( const

76       QDomDocumentFragment & x )
77       Assigns x to this DOM document fragment.
78
79       The data of the copy is shared (shallow copy): modifying one node will
80       also change the other. If you want to make a deep copy, use
81       cloneNode().
82
83

SEE ALSO

85       http://doc.trolltech.com/qdomdocumentfragment.html
86       http://www.trolltech.com/faq/tech.html
87
89       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
90       license file included in the distribution for a complete license
91       statement.
92

AUTHOR

94       Generated automatically from the source code.
95

BUGS

97       If you find a bug in Qt, please report it as described in
98       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
99       help you. Thank you.
100
101       The definitive Qt documentation is provided in HTML format; it is
102       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
103       web browser. This man page is provided as a convenience for those users
104       who prefer man pages, although this format is not officially supported
105       by Trolltech.
106
107       If you find errors in this manual page, please report them to qt-
108       bugs@trolltech.com.  Please include the name of the manual page
109       (qdomdocumentfragment.3qt) and the Qt version (3.3.8).
110
111
112
113Trolltech AS                    2 February 2007      QDomDocumentFragment(3qt)
Impressum