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

Public Functions

QDomNodePrivatecloneNode (bool deep=true)
 
virtual bool isProcessingInstruction () const
 
QDomNode::NodeType nodeType () const
 
 QDomProcessingInstructionPrivate (QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &target, const QString &data)
 
 QDomProcessingInstructionPrivate (QDomProcessingInstructionPrivate *n, bool deep)
 
virtual void save (QTextStream &s, int, int) 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 isCDATASection () const
 
virtual bool isCharacterData () 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 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)
 
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 490 of file qdom.cpp.

Constructors and Destructors

◆ QDomProcessingInstructionPrivate() [1/2]

QDomProcessingInstructionPrivate::QDomProcessingInstructionPrivate ( QDomDocumentPrivate d,
QDomNodePrivate parent,
const QString target,
const QString data 
)

Definition at line 6143 of file qdom.cpp.

6145  : QDomNodePrivate(d, parent)
6146 {
6147  name = target;
6148  value = data;
6149 }
QString name
Definition: qdom.cpp:198
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482
QString value
Definition: qdom.cpp:199
static const char * data(const QByteArray &arr)

◆ QDomProcessingInstructionPrivate() [2/2]

QDomProcessingInstructionPrivate::QDomProcessingInstructionPrivate ( QDomProcessingInstructionPrivate n,
bool  deep 
)

Definition at line 6151 of file qdom.cpp.

6152  : QDomNodePrivate(n, deep)
6153 {
6154 }
QDomNodePrivate(QDomDocumentPrivate *, QDomNodePrivate *parent=0)
Definition: qdom.cpp:1482

Functions

◆ cloneNode()

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

Reimplemented from QDomNodePrivate.

Definition at line 6157 of file qdom.cpp.

6158 {
6160  // We are not interested in this node
6161  p->ref.deref();
6162  return p;
6163 }
QAtomicInt ref
Definition: qdom.cpp:191
bool deref()
Atomically decrements the value of this QAtomicInt.
QDomProcessingInstructionPrivate(QDomDocumentPrivate *, QDomNodePrivate *parent, const QString &target, const QString &data)
Definition: qdom.cpp:6143

◆ isProcessingInstruction()

virtual bool QDomProcessingInstructionPrivate::isProcessingInstruction ( ) const
inlinevirtual

Reimplemented from QDomNodePrivate.

Definition at line 499 of file qdom.cpp.

499 { return true; }

◆ nodeType()

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

Reimplemented from QDomNodePrivate.

Definition at line 500 of file qdom.cpp.

◆ save()

void QDomProcessingInstructionPrivate::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 QDomNodePrivate.

Definition at line 6165 of file qdom.cpp.

6166 {
6167  s << "<?" << name << ' ' << value << "?>" << endl;
6168 }
QString name
Definition: qdom.cpp:198
QString value
Definition: qdom.cpp:199
Q_CORE_EXPORT QTextStream & endl(QTextStream &s)

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