44 #include <QtCore/qmap.h> 45 #include <QtCore/qset.h> 46 #include <QtCore/qvector.h> 47 #include <QtCore/qnumeric.h> 48 #include <QtScript/qscriptvalueiterator.h> 89 currProps.
insert(__proto__, protoProp);
90 propertyNameToIndex.
insert(__proto__, i);
107 int idx = propertyNameToIndex[*
it];
108 am[idx] = currProps[*
it];
#define QT_END_NAMESPACE
This macro expands to.
QSet< T > toSet() const
Returns a QSet object with the data contained in this QList.
#define it(className, varName)
QScriptValuePropertyList m_properties
const_iterator constEnd() const
QList< T > values() const
Returns a list containing all the values in the map, in ascending order of their keys.
QString name() const
Returns the name of the last property that was jumped over using next() or previous().
QScriptValuePropertyList addedProperties
The QString class provides a Unicode character string.
QString name() const
Returns the name of this QScriptValueProperty.
iterator insert(const Key &key, const T &value)
Inserts a new item with the key and a value of value.
QScriptValue::PropertyFlags flags() const
Returns the flags of this QScriptValueProperty.
void append(const T &t)
Inserts value at the end of the list.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QList< T > toList() const
const T & at(int i) const
Returns the item at index position i in the list.
const_iterator insert(const T &value)
QList< Key > keys() const
Returns a list containing all the keys in the map in ascending order.
QScriptValuePropertyList properties() const
Q_CORE_EXPORT bool qIsNaN(double d)
Returns true if the double {d} is not a number (NaN).
qsreal toNumber() const
Returns the number value of this QScriptValue, as defined in ECMA-262 section 9.3, "ToNumber".
static QByteArray prototype(const QList< QByteArray > ¶meterTypes, const QList< QByteArray > ¶meterNames, bool *ok)
QScriptValue::PropertyFlags flags() const
Returns the flags of the last property that was jumped over using next() or previous().
bool isNumber() const
Returns true if this QScriptValue is of the primitive type Number; otherwise returns false...
The QScriptValueIterator class provides a Java-style iterator for QScriptValue.
QScriptValue value() const
Returns the value of this QScriptValueProperty.
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
iterator insert(const Key &key, const T &value)
Inserts a new item with the key key and a value of value.
QScriptValue value() const
Returns the value of the last property that was jumped over using next() or previous().
static bool _q_equal(const QScriptValue &v1, const QScriptValue &v2)
int size() const
Returns the number of items in the list.
Delta capture(const QScriptValue &object)
const_iterator constBegin() const
QScriptValueProperty findProperty(const QString &name) const
QStringList removedProperties
QScriptValuePropertyList changedProperties
bool strictlyEquals(const QScriptValue &other) const
Returns true if this QScriptValue is equal to other using strict comparison (no conversion), otherwise returns false.
The QScriptValue class acts as a container for the Qt Script data types.
void next()
Advances the iterator by one position.
The QMap class is a template class that provides a skip-list-based dictionary.
bool hasNext() const
Returns true if there is at least one item ahead of the iterator (i.e.