Qt 4.8
Static Public Functions | List of all members
CDATA Class Reference
Inheritance diagram for CDATA:
Text CharacterData Item Node

Static Public Functions

static QScriptValue prototype (QScriptEngine *)
 
- Static Public Functions inherited from Text
static QScriptValue isElementContentWhitespace (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue prototype (QScriptEngine *)
 
static QScriptValue wholeText (QScriptContext *context, QScriptEngine *engine)
 
- Static Public Functions inherited from CharacterData
static QScriptValue length (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue prototype (QScriptEngine *)
 
- Static Public Functions inherited from Node
static QScriptValue attributes (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue childNodes (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue create (QScriptEngine *, NodeImpl *)
 
static QScriptValue firstChild (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue lastChild (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue nextSibling (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue nodeName (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue nodeType (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue nodeValue (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue parentNode (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue previousSibling (QScriptContext *context, QScriptEngine *engine)
 
static QScriptValue prototype (QScriptEngine *)
 

Additional Inherited Members

- Public Functions inherited from Node
bool isNull () const
 
 Node ()
 
 Node (const Node &o)
 
 ~Node ()
 
- Public Variables inherited from Node
NodeImpld
 

Detailed Description

Definition at line 305 of file qdeclarativexmlhttprequest.cpp.

Functions

◆ prototype()

QScriptValue CDATA::prototype ( QScriptEngine engine)
static

Definition at line 610 of file qdeclarativexmlhttprequest.cpp.

Referenced by Node::create().

611 {
612  QScriptValue proto = engine->newObject();
613  proto.setPrototype(Text::prototype(engine));
614  return proto;
615 }
static QScriptValue prototype(QScriptEngine *)
QScriptValue newObject()
Creates a QtScript object of class Object.
void setPrototype(const QScriptValue &prototype)
If this QScriptValue is an object, sets the internal prototype (__proto__ property) of this object to...
The QScriptValue class acts as a container for the Qt Script data types.
Definition: qscriptvalue.h:57

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