okteta
defaultscriptclass.h
Go to the documentation of this file.
46 virtual QueryFlags queryProperty(const QScriptValue& object, const QScriptString& name, QueryFlags flags, uint* id);
47 virtual QScriptValue::PropertyFlags propertyFlags(const QScriptValue& object, const QScriptString& name, uint id);
49 virtual void setProperty(QScriptValue& object, const QScriptString& name, uint id, const QScriptValue& value);
61 virtual bool queryAdditionalProperty(const DataInformation* data, const QScriptString& name, QueryFlags* flags, uint* id) = 0;
62 virtual bool additionalPropertyFlags(const DataInformation* data, const QScriptString& name, uint id, QScriptValue::PropertyFlags* flags) = 0;
63 virtual QScriptValue additionalProperty(const DataInformation* data, const QScriptString& name, uint id) = 0;
64 virtual bool setAdditionalProperty(DataInformation* data, const QScriptString& name, uint id, const QScriptValue& value) = 0;
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
virtual QScriptValue::PropertyFlags flags() const
Definition: defaultscriptclass.cpp:454
virtual QScriptString name() const
Definition: defaultscriptclass.cpp:441
Definition: scriptvalueconverter.h:30
virtual QScriptValue property(const QScriptValue &object, const QScriptString &name, uint id)
Definition: defaultscriptclass.cpp:135
virtual bool hasNext() const
Definition: defaultscriptclass.cpp:431
QScriptString s_customTypeName
Definition: defaultscriptclass.h:79
static QScriptValue Default_proto_toString(QScriptContext *ctx, QScriptEngine *eng)
Definition: defaultscriptclass.cpp:402
Provide a default iterator for all properties.
Definition: defaultscriptclass.h:88
static DataInformation * toDataInformation(const QScriptValue &val)
Convert a QScriptValue to DataInformation than qscriptvalue_cast, since we know exactly what to expec...
Definition: defaultscriptclass.cpp:75
virtual QScriptValue additionalProperty(const DataInformation *data, const QScriptString &name, uint id)=0
QScriptString s_validationFunc
Definition: defaultscriptclass.h:78
friend class DefaultscriptClassIterator
Definition: defaultscriptclass.h:38
virtual QScriptValue::PropertyFlags propertyFlags(const QScriptValue &object, const QScriptString &name, uint id)
Definition: defaultscriptclass.cpp:361
PropertyInfoList mIterableProperties
Contains all properties of this class, classes inheriting should add their own properties to this lis...
Definition: defaultscriptclass.h:82
QScriptString s_validationError
Definition: defaultscriptclass.h:72
virtual bool setAdditionalProperty(DataInformation *data, const QScriptString &name, uint id, const QScriptValue &value)=0
virtual bool queryAdditionalProperty(const DataInformation *data, const QScriptString &name, QueryFlags *flags, uint *id)=0
Definition: scripthandlerinfo.h:39
virtual bool hasPrevious() const
Definition: defaultscriptclass.cpp:436
QScriptValue mDefaultPrototype
Definition: defaultscriptclass.h:83
virtual QScriptClassPropertyIterator * newIterator(const QScriptValue &object)
Definition: defaultscriptclass.cpp:414
Definition: defaultscriptclass.h:36
virtual void setProperty(QScriptValue &object, const QScriptString &name, uint id, const QScriptValue &value)
Definition: defaultscriptclass.cpp:281
virtual bool additionalPropertyFlags(const DataInformation *data, const QScriptString &name, uint id, QScriptValue::PropertyFlags *flags)=0
virtual QScriptValue prototype() const
Definition: defaultscriptclass.cpp:397
virtual ~DefaultscriptClassIterator()
Definition: defaultscriptclass.cpp:427
virtual QueryFlags queryProperty(const QScriptValue &object, const QScriptString &name, QueryFlags flags, uint *id)
Definition: defaultscriptclass.cpp:89
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.