okteta
#include <defaultscriptclass.h>
|
| DefaultScriptClass (QScriptEngine *engine, ScriptHandlerInfo *handlerInfo) |
|
virtual | ~DefaultScriptClass () |
|
virtual
QScriptClassPropertyIterator * | newIterator (const QScriptValue &object) |
|
virtual QScriptValue | property (const QScriptValue &object, const QScriptString &name, uint id) |
|
virtual QScriptValue::PropertyFlags | propertyFlags (const QScriptValue &object, const QScriptString &name, uint id) |
|
virtual QScriptValue | prototype () const |
|
virtual QueryFlags | queryProperty (const QScriptValue &object, const QScriptString &name, QueryFlags flags, uint *id) |
|
virtual void | setProperty (QScriptValue &object, const QScriptString &name, uint id, const QScriptValue &value) |
|
|
virtual QScriptValue | additionalProperty (const DataInformation *data, const QScriptString &name, uint id)=0 |
|
virtual bool | additionalPropertyFlags (const DataInformation *data, const QScriptString &name, uint id, QScriptValue::PropertyFlags *flags)=0 |
|
virtual bool | queryAdditionalProperty (const DataInformation *data, const QScriptString &name, QueryFlags *flags, uint *id)=0 |
|
virtual bool | setAdditionalProperty (DataInformation *data, const QScriptString &name, uint id, const QScriptValue &value)=0 |
|
Definition at line 36 of file defaultscriptclass.h.
DefaultScriptClass::DefaultScriptClass |
( |
QScriptEngine * |
engine, |
|
|
ScriptHandlerInfo * |
handlerInfo |
|
) |
| |
DefaultScriptClass::~DefaultScriptClass |
( |
| ) |
|
|
virtual |
virtual QScriptValue DefaultScriptClass::additionalProperty |
( |
const DataInformation * |
data, |
|
|
const QScriptString & |
name, |
|
|
uint |
id |
|
) |
| |
|
protectedpure virtual |
virtual bool DefaultScriptClass::additionalPropertyFlags |
( |
const DataInformation * |
data, |
|
|
const QScriptString & |
name, |
|
|
uint |
id, |
|
|
QScriptValue::PropertyFlags * |
flags |
|
) |
| |
|
protectedpure virtual |
QScriptValue DefaultScriptClass::Default_proto_toString |
( |
QScriptContext * |
ctx, |
|
|
QScriptEngine * |
eng |
|
) |
| |
|
staticprotected |
QScriptValue DefaultScriptClass::property |
( |
const QScriptValue & |
object, |
|
|
const QScriptString & |
name, |
|
|
uint |
id |
|
) |
| |
|
virtual |
QScriptValue::PropertyFlags DefaultScriptClass::propertyFlags |
( |
const QScriptValue & |
object, |
|
|
const QScriptString & |
name, |
|
|
uint |
id |
|
) |
| |
|
virtual |
QScriptValue DefaultScriptClass::prototype |
( |
| ) |
const |
|
virtual |
virtual bool DefaultScriptClass::queryAdditionalProperty |
( |
const DataInformation * |
data, |
|
|
const QScriptString & |
name, |
|
|
QueryFlags * |
flags, |
|
|
uint * |
id |
|
) |
| |
|
protectedpure virtual |
QScriptClass::QueryFlags DefaultScriptClass::queryProperty |
( |
const QScriptValue & |
object, |
|
|
const QScriptString & |
name, |
|
|
QueryFlags |
flags, |
|
|
uint * |
id |
|
) |
| |
|
virtual |
virtual bool DefaultScriptClass::setAdditionalProperty |
( |
DataInformation * |
data, |
|
|
const QScriptString & |
name, |
|
|
uint |
id, |
|
|
const QScriptValue & |
value |
|
) |
| |
|
protectedpure virtual |
void DefaultScriptClass::setProperty |
( |
QScriptValue & |
object, |
|
|
const QScriptString & |
name, |
|
|
uint |
id, |
|
|
const QScriptValue & |
value |
|
) |
| |
|
virtual |
DataInformation * DefaultScriptClass::toDataInformation |
( |
const QScriptValue & |
val | ) |
|
|
static |
Convert a QScriptValue to DataInformation than qscriptvalue_cast, since we know exactly what to expect.
- Parameters
-
val | the value to convert. Do not call .data() on it. |
- Returns
val
converted to a Datainformation*
Definition at line 75 of file defaultscriptclass.cpp.
QScriptValue DefaultScriptClass::mDefaultPrototype |
|
protected |
Contains all properties of this class, classes inheriting should add their own properties to this list.
Definition at line 82 of file defaultscriptclass.h.
QScriptString DefaultScriptClass::s_asStringFunc |
|
protected |
QScriptString DefaultScriptClass::s_byteOrder |
|
protected |
QScriptString DefaultScriptClass::s_customTypeName |
|
protected |
QScriptString DefaultScriptClass::s_datatype |
|
protected |
QScriptString DefaultScriptClass::s_name |
|
protected |
QScriptString DefaultScriptClass::s_parent |
|
protected |
QScriptString DefaultScriptClass::s_updateFunc |
|
protected |
QScriptString DefaultScriptClass::s_valid |
|
protected |
QScriptString DefaultScriptClass::s_validationError |
|
protected |
QScriptString DefaultScriptClass::s_validationFunc |
|
protected |
QScriptString DefaultScriptClass::s_wasAbleToRead |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.