Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #ifndef QV4SEQUENCEWRAPPER_P_H | - |
41 | #define QV4SEQUENCEWRAPPER_P_H | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | #include <QtCore/qglobal.h> | - |
55 | #include <QtCore/qvariant.h> | - |
56 | | - |
57 | #include "qv4value_p.h" | - |
58 | #include "qv4object_p.h" | - |
59 | #include "qv4context_p.h" | - |
60 | #include "qv4string_p.h" | - |
61 | | - |
62 | QT_REQUIRE_CONFIG(qml_sequence_object); | - |
63 | | - |
64 | QT_BEGIN_NAMESPACE | - |
65 | | - |
66 | namespace QV4 { | - |
67 | | - |
68 | struct SequencePrototype : public QV4::Object | - |
69 | { | - |
70 | V4_PROTOTYPE(arrayPrototype)executed 98985 times by 153 tests: return e->arrayPrototype(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 98985 |
71 | void init(); | - |
72 | | - |
73 | static ReturnedValue method_valueOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
74 | static ReturnedValue method_sort(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
75 | | - |
76 | static bool isSequenceType(int sequenceTypeId); | - |
77 | static ReturnedValue newSequence(QV4::ExecutionEngine *engine, int sequenceTypeId, QObject *object, int propertyIndex, bool readOnly, bool *succeeded); | - |
78 | static ReturnedValue fromVariant(QV4::ExecutionEngine *engine, const QVariant& v, bool *succeeded); | - |
79 | static int metaTypeForSequence(const Object *object); | - |
80 | static QVariant toVariant(Object *object); | - |
81 | static QVariant toVariant(const Value &array, int typeHint, bool *succeeded); | - |
82 | static void* getRawContainerPtr(const Object *object, int typeHint); | - |
83 | }; | - |
84 | | - |
85 | } | - |
86 | | - |
87 | QT_END_NAMESPACE | - |
88 | | - |
89 | #endif // QV4SEQUENCEWRAPPER_P_H | - |
| | |