Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmllistwrapper.cpp File Reference
#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>
+ Include dependency graph for qqmllistwrapper.cpp:

Go to the source code of this file.

Classes

struct  QmlListWrapperOwnPropertyKeyIterator
 

Functions

 DEFINE_OBJECT_VTABLE (QmlListWrapper)
 
static void setCustomArrayData (Heap::QmlListWrapper *d)
 
template<typename Iterate >
ReturnedValue firstOrLastIndexOf (const FunctionObject *b, const Value *thisObject, const Value *argv, int argc, Iterate iterate)
 

Function Documentation

◆ DEFINE_OBJECT_VTABLE()

DEFINE_OBJECT_VTABLE ( QmlListWrapper  )

◆ firstOrLastIndexOf()

template<typename Iterate >
ReturnedValue firstOrLastIndexOf ( const FunctionObject b,
const Value thisObject,
const Value argv,
int  argc,
Iterate  iterate 
)

Definition at line 468 of file qqmllistwrapper.cpp.

References 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCustomArrayData()

static void setCustomArrayData ( Heap::QmlListWrapper d)
static

Definition at line 25 of file qqmllistwrapper.cpp.

References d, and o.

Referenced by QV4::Heap::QmlListWrapper::init(), QV4::Heap::QmlListWrapper::init(), and QV4::Heap::QmlListWrapper::init().

+ Here is the caller graph for this function: