Line | Source | Count |
1 | | - |
2 | | - |
3 | class QQmlEngineControlClientPrivate : public QQmlDebugClientPrivate | - |
4 | { | - |
5 | inline QQmlEngineControlClient* q_func() { return static_cast<QQmlEngineControlClient *>(q_ptr); } inline const QQmlEngineControlClient* q_func() const { return static_cast<const QQmlEngineControlClient *>(q_ptr); } friend class QQmlEngineControlClient; | - |
6 | public: | - |
7 | enum MessageType { | - |
8 | EngineAboutToBeAdded, | - |
9 | EngineAdded, | - |
10 | EngineAboutToBeRemoved, | - |
11 | EngineRemoved | - |
12 | }; | - |
13 | | - |
14 | enum CommandType { | - |
15 | StartWaitingEngine, | - |
16 | StopWaitingEngine, | - |
17 | InvalidCommand | - |
18 | }; | - |
19 | | - |
20 | QQmlEngineControlClientPrivate(QQmlDebugConnection *connection); | - |
21 | | - |
22 | void sendCommand(CommandType command, int engineId); | - |
23 | | - |
24 | struct EngineState { | - |
25 | EngineState(CommandType command = InvalidCommand) : releaseCommand(command), blockers(0) {}executed 46 times by 2 tests: end of block Executed by:- tst_qqmlenginecontrol
- tst_qqmlprofilerservice
| 46 |
26 | CommandType releaseCommand; | - |
27 | int blockers; | - |
28 | }; | - |
29 | | - |
30 | QHash<int, EngineState> blockedEngines; | - |
31 | }; | - |
32 | | - |
33 | | - |
| | |