Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
22QT_BEGIN_NAMESPACE
23
24class QQmlDebugConnection;
27{
28 Q_OBJECT
29 Q_DISABLE_COPY(QQmlDebugClient)
31
32public:
34
35 QQmlDebugClient(const QString &name, QQmlDebugConnection *parent);
37
38 QString name() const;
39 float serviceVersion() const;
40 State state() const;
41 void sendMessage(const QByteArray &message);
42
44
47
48protected:
50
51private:
52 friend class QQmlDebugConnection;
53 virtual void messageReceived(const QByteArray &message);
54};
55
56QT_END_NAMESPACE
57
58#endif // QQMLDEBUGCLIENT_P_H
QPointer< QQmlDebugConnection > connection
QQmlDebugClient(const QString &name, QQmlDebugConnection *parent)
QString name() const
virtual void messageReceived(const QByteArray &message)
float serviceVersion() const
QQmlDebugClient(QQmlDebugClientPrivate &dd)
void sendMessage(const QByteArray &message)
State state() const
QQmlDebugConnection * connection() const
Combined button and popup list for selecting options.