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>.
Loading...
Searching...
No Matches
qqmlenginecontrolclient_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QQMLENGINECONTROLCLIENT_P_P_H
5
#define QQMLENGINECONTROLCLIENT_P_P_H
6
7
#include "
qqmlenginecontrolclient_p.h
"
8
#include "
qqmldebugclient_p_p.h
"
9
10
#include <QtCore/QHash>
11
12
//
13
// W A R N I N G
14
// -------------
15
//
16
// This file is not part of the Qt API. It exists purely as an
17
// implementation detail. This header file may change from version to
18
// version without notice, or even be removed.
19
//
20
// We mean it.
21
//
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQmlEngineControlClientPrivate
:
public
QQmlDebugClientPrivate
26
{
27
Q_DECLARE_PUBLIC(
QQmlEngineControlClient
)
28
public
:
29
enum
MessageType
{
30
EngineAboutToBeAdded
,
31
EngineAdded
,
32
EngineAboutToBeRemoved
,
33
EngineRemoved
34
};
35
36
enum
CommandType
{
37
StartWaitingEngine
,
38
StopWaitingEngine
,
39
InvalidCommand
40
};
41
42
QQmlEngineControlClientPrivate
(
QQmlDebugConnection
*
connection
);
43
44
void
sendCommand
(
CommandType
command,
int
engineId);
45
46
struct
EngineState
{
47
EngineState
(
CommandType
command =
InvalidCommand
) :
releaseCommand
(command),
blockers
(0) {}
48
CommandType
releaseCommand
;
49
int
blockers
;
50
};
51
52
QHash<int, EngineState>
blockedEngines
;
53
};
54
55
QT_END_NAMESPACE
56
57
#endif
// QQMLENGINECONTROLCLIENT_P_P_H
QQmlDebugClientPrivate
Definition
qqmldebugclient_p_p.h:26
QQmlDebugClientPrivate::connection
QPointer< QQmlDebugConnection > connection
Definition
qqmldebugclient_p_p.h:33
QQmlDebugConnection
Definition
qqmldebugconnection_p.h:27
QQmlEngineControlClientPrivate
Definition
qqmlenginecontrolclient_p_p.h:26
QQmlEngineControlClientPrivate::sendCommand
void sendCommand(CommandType command, int engineId)
Definition
qqmlenginecontrolclient.cpp:112
QQmlEngineControlClientPrivate::MessageType
MessageType
Definition
qqmlenginecontrolclient_p_p.h:29
QQmlEngineControlClientPrivate::EngineAboutToBeAdded
@ EngineAboutToBeAdded
Definition
qqmlenginecontrolclient_p_p.h:30
QQmlEngineControlClientPrivate::EngineAboutToBeRemoved
@ EngineAboutToBeRemoved
Definition
qqmlenginecontrolclient_p_p.h:32
QQmlEngineControlClientPrivate::EngineRemoved
@ EngineRemoved
Definition
qqmlenginecontrolclient_p_p.h:33
QQmlEngineControlClientPrivate::EngineAdded
@ EngineAdded
Definition
qqmlenginecontrolclient_p_p.h:31
QQmlEngineControlClientPrivate::blockedEngines
QHash< int, EngineState > blockedEngines
Definition
qqmlenginecontrolclient_p_p.h:52
QQmlEngineControlClientPrivate::QQmlEngineControlClientPrivate
QQmlEngineControlClientPrivate(QQmlDebugConnection *connection)
Definition
qqmlenginecontrolclient.cpp:107
QQmlEngineControlClientPrivate::CommandType
CommandType
Definition
qqmlenginecontrolclient_p_p.h:36
QQmlEngineControlClientPrivate::StartWaitingEngine
@ StartWaitingEngine
Definition
qqmlenginecontrolclient_p_p.h:37
QQmlEngineControlClientPrivate::InvalidCommand
@ InvalidCommand
Definition
qqmlenginecontrolclient_p_p.h:39
QQmlEngineControlClientPrivate::StopWaitingEngine
@ StopWaitingEngine
Definition
qqmlenginecontrolclient_p_p.h:38
QQmlEngineControlClient
Definition
qqmlenginecontrolclient_p.h:24
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qqmldebugclient_p_p.h
qqmlenginecontrolclient_p.h
CommandType
CommandType
Definition
qssgrendercommands_p.h:30
QQmlEngineControlClientPrivate::EngineState
Definition
qqmlenginecontrolclient_p_p.h:46
QQmlEngineControlClientPrivate::EngineState::EngineState
EngineState(CommandType command=InvalidCommand)
Definition
qqmlenginecontrolclient_p_p.h:47
QQmlEngineControlClientPrivate::EngineState::blockers
int blockers
Definition
qqmlenginecontrolclient_p_p.h:49
QQmlEngineControlClientPrivate::EngineState::releaseCommand
CommandType releaseCommand
Definition
qqmlenginecontrolclient_p_p.h:48
qtdeclarative
src
qmldebug
qqmlenginecontrolclient_p_p.h
Generated by
1.10.0