Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmldebugclient_p.h
Go to the documentation of this file.
1
// Copyright (C) 2018 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
// Qt-Security score:significant
4
5
#
ifndef
QQMLDEBUGCLIENT_P_H
6
#
define
QQMLDEBUGCLIENT_P_H
7
8
#
include
<
QtCore
/
qobject
.
h
>
9
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
10
11
//
12
// W A R N I N G
13
// -------------
14
//
15
// This file is not part of the Qt API. It exists purely as an
16
// implementation detail. This header file may change from version to
17
// version without notice, or even be removed.
18
//
19
// We mean it.
20
//
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQmlDebugConnection;
25
class
QQmlDebugClientPrivate
;
26
class
QQmlDebugClient
:
public
QObject
27
{
28
Q_OBJECT
29
Q_DISABLE_COPY(
QQmlDebugClient
)
30
Q_DECLARE_PRIVATE
(
QQmlDebugClient
)
31
32
public
:
33
enum
State
{
NotConnected
,
Unavailable
,
Enabled
};
34
35
QQmlDebugClient
(
const
QString &name,
QQmlDebugConnection
*parent);
36
~
QQmlDebugClient
();
37
38
QString
name
()
const
;
39
float
serviceVersion
()
const
;
40
State
state
()
const
;
41
void
sendMessage
(
const
QByteArray &message);
42
43
QQmlDebugConnection
*
connection
()
const
;
44
45
Q_SIGNALS
:
46
void
stateChanged
(
State
state
);
47
48
protected
:
49
QQmlDebugClient
(
QQmlDebugClientPrivate
&dd);
50
51
private
:
52
friend
class
QQmlDebugConnection
;
53
virtual
void
messageReceived
(
const
QByteArray &message);
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
// QQMLDEBUGCLIENT_P_H
QQmlDebugClientPrivate
Definition
qqmldebugclient_p_p.h:27
QQmlDebugClientPrivate::connection
QPointer< QQmlDebugConnection > connection
Definition
qqmldebugclient_p_p.h:34
QQmlDebugClientPrivate::addToConnection
void addToConnection()
Definition
qqmldebugclient.cpp:40
QQmlDebugClientPrivate::name
QString name
Definition
qqmldebugclient_p_p.h:33
QQmlDebugClient
Definition
qqmldebugclient_p.h:27
QQmlDebugClient::QQmlDebugClient
QQmlDebugClient(const QString &name, QQmlDebugConnection *parent)
Definition
qqmldebugclient.cpp:13
QQmlDebugClient::name
QString name() const
Definition
qqmldebugclient.cpp:49
QQmlDebugClient::messageReceived
virtual void messageReceived(const QByteArray &message)
Definition
qqmldebugclient.cpp:85
QQmlDebugClient::serviceVersion
float serviceVersion() const
Definition
qqmldebugclient.cpp:55
QQmlDebugClient::QQmlDebugClient
QQmlDebugClient(QQmlDebugClientPrivate &dd)
Definition
qqmldebugclient.cpp:20
QQmlDebugClient::sendMessage
void sendMessage(const QByteArray &message)
Definition
qqmldebugclient.cpp:73
QQmlDebugClient::state
State state() const
Definition
qqmldebugclient.cpp:61
QQmlDebugClient::connection
QQmlDebugConnection * connection() const
Definition
qqmldebugclient.cpp:79
QQmlDebugClient::~QQmlDebugClient
~QQmlDebugClient()
Definition
qqmldebugclient.cpp:27
QQmlDebugConnection
Definition
qqmldebugconnection_p.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
qmldebug
qqmldebugclient_p.h
Generated on
for Qt by
1.18.0