Qt 4.8
Public Functions | List of all members
QDomDocumentFragmentPrivate Class Reference
Inheritance diagram for QDomDocumentFragmentPrivate:
QDomNodePrivate

Public Functions

virtual QDomNodePrivatecloneNode (bool deep=true)
 
virtual bool isDocumentFragment () const
 
QDomNode::NodeType nodeType () const
 
 QDomDocumentFragmentPrivate (QDomDocumentPrivate *, QDomNodePrivate *parent=0)
 
 QDomDocumentFragmentPrivate (QDomNodePrivate *n, bool deep)
 
- Public Functions inherited from QDomNodePrivate
virtual QDomNodePrivateappendChild (QDomNodePrivate *newChild)
 
virtual void clear ()
 
virtual QDomNodePrivateinsertAfter (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual QDomNodePrivateinsertBefore (QDomNodePrivate *newChild, QDomNodePrivate *refChild)
 
virtual bool isAttr () const
 
virtual bool isCDATASection () const
 
virtual bool isCharacterData () const
 
virtual bool isComment () const
 
virtual bool isDocument () const
 
virtual bool isDocumentType () const
 
virtual bool isElement () const
 
virtual bool isEntity () const
 
virtual bool isEntityReference () const
 
virtual bool isNotation () const
 
virtual bool isProcessingInstruction () const
 
virtual bool isText () const
 
QDomNodePrivatenamedItem (const QString &name)
 
QString nodeName () const
 
QString nodeValue () const
 
virtual void normalize ()
 
QDomDocumentPrivateownerDocument ()
 
QDomNodePrivateparent () const
 
 QDomNodePrivate (QDomDocumentPrivate *, QDomNodePrivate *parent=0)
 
 QDomNodePrivate (QDomNodePrivate *n, bool deep)
 
virtual QDomNodePrivateremoveChild (QDomNodePrivate *oldChild)
 
virtual QDomNodePrivatereplaceChild (QDomNodePrivate *newChild, QDomNodePrivate *oldChild)
 
virtual void save (QTextStream &, int, int) const
 
void setLocation (int lineNumber, int columnNumber)
 
virtual void setNodeValue (const QString &v)
 
void setNoParent ()
 
void setOwnerDocument (QDomDocumentPrivate *doc)
 
void setParent (QDomNodePrivate *p)
 
virtual ~QDomNodePrivate ()
 

Additional Inherited Members

- Public Variables inherited from QDomNodePrivate
int columnNumber
 
bool createdWithDom1Interface: 1
 
QDomNodePrivatefirst
 
bool hasParent: 1
 
QDomNodePrivatelast
 
int lineNumber
 
QString name
 
QString namespaceURI
 
QDomNodePrivatenext
 
QDomNodePrivateownerNode
 
QString prefix
 
QDomNodePrivateprev
 
QAtomicInt ref
 
QString value
 

Detailed Description

Definition at line 312 of file qdom.cpp.

Constructors and Destructors

◆ QDomDocumentFragmentPrivate() [1/2]

QDomDocumentFragmentPrivate::QDomDocumentFragmentPrivate ( QDomDocumentPrivate doc,
QDomNodePrivate parent = 0 
)

Definition at line 3860 of file qdom.cpp.

Referenced by cloneNode().

3861  : QDomNodePrivate(doc, parent)
3862 {
3863  name = QLatin1String("#document-fragment");
3864 }
QString name
Definition: qdom.cpp:198
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482

◆ QDomDocumentFragmentPrivate() [2/2]

QDomDocumentFragmentPrivate::QDomDocumentFragmentPrivate ( QDomNodePrivate n,
bool  deep 
)

Definition at line 3866 of file qdom.cpp.

3867  : QDomNodePrivate(n, deep)
3868 {
3869 }
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482

Functions

◆ cloneNode()

QDomNodePrivate * QDomDocumentFragmentPrivate::cloneNode ( bool  deep = true)
virtual

Reimplemented from QDomNodePrivate.

Definition at line 3871 of file qdom.cpp.

3872 {
3873  QDomNodePrivate* p = new QDomDocumentFragmentPrivate(this, deep);
3874  // We are not interested in this node
3875  p->ref.deref();
3876  return p;
3877 }
QAtomicInt ref
Definition: qdom.cpp:191
bool deref()
Atomically decrements the value of this QAtomicInt.
QDomDocumentFragmentPrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:3860

◆ isDocumentFragment()

virtual bool QDomDocumentFragmentPrivate::isDocumentFragment ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 320 of file qdom.cpp.

320 { return true; }

◆ nodeType()

QDomNode::NodeType QDomDocumentFragmentPrivate::nodeType ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 321 of file qdom.cpp.


The documentation for this class was generated from the following file: