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
4#ifndef QQMLDEBUGCLIENT_P_H
5#define QQMLDEBUGCLIENT_P_H
6
7#include <QtCore/qobject.h>
8#include <QtCore/private/qglobal_p.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
21QT_BEGIN_NAMESPACE
22
23class QQmlDebugConnection;
26{
27 Q_OBJECT
28 Q_DISABLE_COPY(QQmlDebugClient)
30
31public:
33
34 QQmlDebugClient(const QString &name, QQmlDebugConnection *parent);
36
37 QString name() const;
38 float serviceVersion() const;
39 State state() const;
40 void sendMessage(const QByteArray &message);
41
43
46
47protected:
49
50private:
51 friend class QQmlDebugConnection;
52 virtual void messageReceived(const QByteArray &message);
53};
54
55QT_END_NAMESPACE
56
57#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.