Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qqmllistwrapper_p.h"
#include <QtQml/qqmlinfo.h>
#include <private/qqmllist_p.h>
#include <private/qv4arrayiterator_p.h>
#include <private/qv4arrayobject_p.h>
#include <private/qv4functionobject_p.h>
#include <private/qv4objectiterator_p.h>
#include <private/qv4objectproto_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qv4symbol_p.h>
Go to the source code of this file.
Classes | |
struct | ListWrapperObject |
struct | QmlListWrapperOwnPropertyKeyIterator |
Functions | |
DEFINE_OBJECT_VTABLE (QmlListWrapper) | |
static void | setArrayData (Heap::QmlListWrapper *d) |
static void | appendWrapped (QQmlListProperty< QObject > *p, QObject *o) |
static qsizetype | countWrapped (QQmlListProperty< QObject > *p) |
static QObject * | atWrapped (QQmlListProperty< QObject > *p, qsizetype i) |
static void | clearWrapped (QQmlListProperty< QObject > *p) |
static void | replaceWrapped (QQmlListProperty< QObject > *p, qsizetype i, QObject *o) |
static void | removeLastWrapped (QQmlListProperty< QObject > *p) |
template<typename Iterate > | |
ReturnedValue | firstOrLastIndexOf (const FunctionObject *b, const Value *thisObject, const Value *argv, int argc, Iterate iterate) |
|
static |
Definition at line 51 of file qqmllistwrapper.cpp.
References o, Q_UNLIKELY, QV4::ArrayData::realloc(), and QV4::QObjectWrapper::wrap().
Referenced by QV4::Heap::QmlListWrapper::init().
|
static |
Definition at line 73 of file qqmllistwrapper.cpp.
Referenced by QV4::Heap::QmlListWrapper::init().
|
static |
Definition at line 80 of file qqmllistwrapper.cpp.
Referenced by QV4::Heap::QmlListWrapper::init().
|
static |
Definition at line 67 of file qqmllistwrapper.cpp.
Referenced by QV4::Heap::QmlListWrapper::init().
DEFINE_OBJECT_VTABLE | ( | QmlListWrapper | ) |
ReturnedValue firstOrLastIndexOf | ( | const FunctionObject * | b, |
const Value * | thisObject, | ||
const Value * | argv, | ||
int | argc, | ||
Iterate | iterate ) |
Definition at line 536 of file qqmllistwrapper.cpp.
References QV4::Value::as(), QV4::Scope::engine, property, RETURN_UNDEFINED, THROW_TYPE_ERROR, QV4::ExecutionEngine::throwTypeError(), QV4::Value::toObject(), and wrapper().
Referenced by QV4::PropertyListPrototype::method_indexOf(), and QV4::PropertyListPrototype::method_lastIndexOf().
|
static |
Definition at line 93 of file qqmllistwrapper.cpp.
Referenced by QV4::Heap::QmlListWrapper::init().
|
static |
Definition at line 86 of file qqmllistwrapper.cpp.
References i, o, and QV4::QObjectWrapper::wrap().
Referenced by QV4::Heap::QmlListWrapper::init().
|
static |
Definition at line 25 of file qqmllistwrapper.cpp.
Referenced by QV4::Heap::DECLARE_HEAP_OBJECT().