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 QQMLINCUBATOR_P_H | - |
41 | #define QQMLINCUBATOR_P_H | - |
42 | | - |
43 | #include "qqmlincubator.h" | - |
44 | | - |
45 | #include <private/qintrusivelist_p.h> | - |
46 | #include <private/qqmlvme_p.h> | - |
47 | #include <private/qrecursionwatcher_p.h> | - |
48 | #include <private/qqmlengine_p.h> | - |
49 | #include <private/qqmlcontext_p.h> | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | QT_BEGIN_NAMESPACE | - |
63 | | - |
64 | class QQmlIncubator; | - |
65 | class QQmlIncubatorPrivate : public QQmlEnginePrivate::Incubator | - |
66 | { | - |
67 | public: | - |
68 | QQmlIncubatorPrivate(QQmlIncubator *q, QQmlIncubator::IncubationMode m); | - |
69 | ~QQmlIncubatorPrivate(); | - |
70 | | - |
71 | inline static QQmlIncubatorPrivate *get(QQmlIncubator *incubator) { return incubator->d; }executed 88409 times by 26 tests: return incubator->d; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 88409 |
72 | | - |
73 | QQmlIncubator *q; | - |
74 | | - |
75 | QQmlIncubator::Status calculateStatus() const; | - |
76 | void changeStatus(QQmlIncubator::Status); | - |
77 | QQmlIncubator::Status status; | - |
78 | | - |
79 | QQmlIncubator::IncubationMode mode; | - |
80 | bool isAsynchronous; | - |
81 | | - |
82 | QList<QQmlError> errors; | - |
83 | | - |
84 | enum Progress { Execute, Completing, Completed }; | - |
85 | Progress progress; | - |
86 | | - |
87 | QPointer<QObject> result; | - |
88 | QQmlGuardedContextData rootContext; | - |
89 | QQmlEnginePrivate *enginePriv; | - |
90 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> compilationUnit; | - |
91 | QScopedPointer<QQmlObjectCreator> creator; | - |
92 | int subComponentToCreate; | - |
93 | QQmlVMEGuard vmeGuard; | - |
94 | | - |
95 | QExplicitlySharedDataPointer<QQmlIncubatorPrivate> waitingOnMe; | - |
96 | typedef QQmlEnginePrivate::Incubator QIPBase; | - |
97 | QIntrusiveList<QIPBase, &QIPBase::nextWaitingFor> waitingFor; | - |
98 | | - |
99 | QRecursionNode recursion; | - |
100 | | - |
101 | void clear(); | - |
102 | | - |
103 | void forceCompletion(QQmlInstantiationInterrupt &i); | - |
104 | void incubate(QQmlInstantiationInterrupt &i); | - |
105 | }; | - |
106 | | - |
107 | QT_END_NAMESPACE | - |
108 | | - |
109 | #endif // QQMLINCUBATOR_P_H | - |
110 | | - |
| | |