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
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
22
26{
28 Q_DISABLE_COPY(QQmlDebugClient)
29 Q_DECLARE_PRIVATE(QQmlDebugClient)
30
31public:
33
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
56
57#endif // QQMLDEBUGCLIENT_P_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
QQmlDebugClient(const QString &name, QQmlDebugConnection *parent)
QString name() const
void stateChanged(State state)
virtual void messageReceived(const QByteArray &message)
float serviceVersion() const
void sendMessage(const QByteArray &message)
State state() const
QQmlDebugConnection * connection() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLuint name
#define Q_OBJECT
#define Q_SIGNALS