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
qqmlenginedebugclient_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 QQMLENGINEDEBUGCLIENT_H
5#define QQMLENGINEDEBUGCLIENT_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qqmldebugclient_p.h>
19#include <private/qpacket_p.h>
20
21#include <QtCore/qurl.h>
22#include <QtCore/qvariant.h>
23
25
35
42
44{
51 QList<QQmlEngineDebugPropertyReference> properties;
52 QList<QQmlEngineDebugObjectReference> children;
53};
54
56{
59 QList<QQmlEngineDebugObjectReference> objects;
60 QList<QQmlEngineDebugContextReference> contexts;
61};
62
68
71{
73 Q_DECLARE_PRIVATE(QQmlEngineDebugClient)
74
75public:
77
79 bool *success);
81 bool *success);
83 bool *success);
85 bool *success);
87 bool *success);
88
89 void removeWatch(qint32 watch, bool *success);
90
91 qint32 queryAvailableEngines(bool *success);
93 bool *success);
95 bool *success);
97 qint32 lineNumber, qint32 columnNumber, bool *success);
99 bool *success);
101 qint32 lineNumber, qint32 columnNumber, bool *success);
102 qint32 queryExpressionResult(qint32 objectDebugId,
103 const QString &expr,
104 bool *success);
106 const QString &expr,
107 bool *success);
108 qint32 setBindingForObject(qint32 objectDebugId, const QString &propertyName,
109 const QVariant &bindingExpression,
110 bool isLiteralValue,
111 const QString &source, qint32 line, bool *success);
112 qint32 resetBindingForObject(qint32 objectDebugId,
113 const QString &propertyName, bool *success);
114 qint32 setMethodBody(qint32 objectDebugId, const QString &methodName,
115 const QString &methodBody, bool *success);
116
117 qint32 getId();
118
120 void decode(QPacket &ds, QQmlEngineDebugObjectReference &, bool simple);
121 void decode(QPacket &ds, QList<QQmlEngineDebugObjectReference> &o, bool simple);
122
123 QList<QQmlEngineDebugEngineReference> engines() const;
126 QList<QQmlEngineDebugObjectReference> objects() const;
127 QVariant resultExpr() const;
128 bool valid() const;
129
131 void newObject(qint32 objectId);
133 void result();
134
135protected:
136 void messageReceived(const QByteArray &) override;
137};
138
140
142
143#endif // QQMLENGINEDEBUGCLIENT_H
\inmodule QtCore
Definition qbytearray.h:57
The QPacket class encapsulates an unfragmentable packet of data to be transmitted by QPacketProtocol.
Definition qpacket_p.h:24
qint32 resetBindingForObject(qint32 objectDebugId, const QString &propertyName, bool *success)
qint32 queryObjectsForLocationRecursive(const QString &file, qint32 lineNumber, qint32 columnNumber, bool *success)
qint32 queryExpressionResultBC(qint32 objectDebugId, const QString &expr, bool *success)
QList< QQmlEngineDebugObjectReference > objects() const
qint32 queryExpressionResult(qint32 objectDebugId, const QString &expr, bool *success)
qint32 queryRootContexts(const QQmlEngineDebugEngineReference &, bool *success)
void removeWatch(qint32 watch, bool *success)
QQmlEngineDebugClient(QQmlDebugConnection *conn)
qint32 queryAvailableEngines(bool *success)
void newObject(qint32 objectId)
qint32 setMethodBody(qint32 objectDebugId, const QString &methodName, const QString &methodBody, bool *success)
qint32 addWatch(const QQmlEngineDebugPropertyReference &, bool *success)
qint32 setBindingForObject(qint32 objectDebugId, const QString &propertyName, const QVariant &bindingExpression, bool isLiteralValue, const QString &source, qint32 line, bool *success)
qint32 queryObjectRecursive(const QQmlEngineDebugObjectReference &, bool *success)
QQmlEngineDebugContextReference rootContext() const
void messageReceived(const QByteArray &) override
QQmlEngineDebugObjectReference object() const
void valueChanged(QByteArray, QVariant)
qint32 queryObject(const QQmlEngineDebugObjectReference &, bool *success)
QList< QQmlEngineDebugEngineReference > engines() const
qint32 queryObjectsForLocation(const QString &file, qint32 lineNumber, qint32 columnNumber, bool *success)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch * watch
static QString methodName(const QDBusIntrospection::Method &method)
#define Q_DECLARE_METATYPE(TYPE)
Definition qmetatype.h:1525
GLsizei GLsizei GLchar * source
#define Q_OBJECT
#define Q_SIGNALS
int qint32
Definition qtypes.h:49
#define decode(x)
QFile file
[0]
QList< QQmlEngineDebugContextReference > contexts
QList< QQmlEngineDebugObjectReference > objects
QList< QQmlEngineDebugPropertyReference > properties
QQmlEngineDebugFileReference source
QList< QQmlEngineDebugObjectReference > children