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

Public Functions

QDomNodePrivatecloneNode (bool deep=true)
 
virtual bool isCDATASection () const
 
QDomNode::NodeType nodeType () const
 
 QDomCDATASectionPrivate (QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &val)
 
 QDomCDATASectionPrivate (QDomCDATASectionPrivate *n, bool deep)
 
virtual void save (QTextStream &s, int, int) const
 
- Public Functions inherited from QDomTextPrivate
virtual bool isText () const
 
 QDomTextPrivate (QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &val)
 
 QDomTextPrivate (QDomTextPrivate *n, bool deep)
 
QDomTextPrivatesplitText (int offset)
 
- Public Functions inherited from QDomCharacterDataPrivate
void appendData (const QString &arg)
 
uint dataLength () const
 
void deleteData (unsigned long offset, unsigned long count)
 
void insertData (unsigned long offset, const QString &arg)
 
virtual bool isCharacterData () const
 
 QDomCharacterDataPrivate (QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &data)
 
 QDomCharacterDataPrivate (QDomCharacterDataPrivate *n, bool deep)
 
void replaceData (unsigned long offset, unsigned long count, const QString &arg)
 
QString substringData (unsigned long offset, unsigned long count) const
 
- 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 isComment () const
 
virtual bool isDocument () const
 
virtual bool isDocumentFragment () 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
 
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)
 
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 427 of file qdom.cpp.

Constructors and Destructors

◆ QDomCDATASectionPrivate() [1/2]

QDomCDATASectionPrivate::QDomCDATASectionPrivate ( QDomDocumentPrivate d,
QDomNodePrivate parent,
const QString val 
)

Definition at line 5539 of file qdom.cpp.

Referenced by cloneNode().

5541  : QDomTextPrivate(d, parent, val)
5542 {
5543  name = QLatin1String("#cdata-section");
5544 }
QString name
Definition: qdom.cpp:198
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QDomTextPrivate(QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &val)
Definition: qdom.cpp:5282

◆ QDomCDATASectionPrivate() [2/2]

QDomCDATASectionPrivate::QDomCDATASectionPrivate ( QDomCDATASectionPrivate n,
bool  deep 
)

Definition at line 5546 of file qdom.cpp.

5547  : QDomTextPrivate(n, deep)
5548 {
5549 }
QDomTextPrivate(QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &val)
Definition: qdom.cpp:5282

Functions

◆ cloneNode()

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

Reimplemented from QDomTextPrivate.

Definition at line 5551 of file qdom.cpp.

5552 {
5553  QDomNodePrivate* p = new QDomCDATASectionPrivate(this, deep);
5554  // We are not interested in this node
5555  p->ref.deref();
5556  return p;
5557 }
QAtomicInt ref
Definition: qdom.cpp:191
bool deref()
Atomically decrements the value of this QAtomicInt.
QDomCDATASectionPrivate(QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &val)
Definition: qdom.cpp:5539

◆ isCDATASection()

virtual bool QDomCDATASectionPrivate::isCDATASection ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 435 of file qdom.cpp.

435 { return true; }

◆ nodeType()

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

Reimplemented from QDomTextPrivate.

Definition at line 436 of file qdom.cpp.

◆ save()

void QDomCDATASectionPrivate::save ( QTextStream s,
int  depth,
int  indent 
) const
virtual
Warning
This function is not part of the public interface. depth is used for indentation, it seems.

Reimplemented from QDomTextPrivate.

Definition at line 5559 of file qdom.cpp.

5560 {
5561  // ### How do we escape "]]>" ?
5562  // "]]>" is not allowed; so there should be none in value anyway
5563  s << "<![CDATA[" << value << "]]>";
5564 }
QString value
Definition: qdom.cpp:199

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