5#include <private/qqmldebugconnection_p.h>
43 >>
data.binding >>
data.hasNotifySignal;
67 ds <<
QByteArray(
"WATCH_PROPERTY") <<
id <<
property.objectDebugId
68 <<
property.name.toUtf8();
79 qWarning(
"QQmlEngineDebugClient::addWatch(): Not implemented");
92 ds <<
QByteArray(
"WATCH_EXPR_OBJECT") <<
id <<
object.debugId << expr;
107 ds <<
QByteArray(
"WATCH_OBJECT") <<
id <<
object.debugId;
118 qWarning(
"QQmlEngineDebugClient::addWatch(): Not implemented");
176 ds <<
QByteArray(
"FETCH_OBJECT") <<
id <<
object.debugId <<
false <<
true;
193 ds <<
QByteArray(
"FETCH_OBJECTS_FOR_LOCATION") <<
id <<
file << lineNumber
194 << columnNumber <<
false <<
true;
211 ds <<
QByteArray(
"FETCH_OBJECT") <<
id <<
object.debugId <<
true <<
true;
228 ds <<
QByteArray(
"FETCH_OBJECTS_FOR_LOCATION") <<
id <<
file << lineNumber
229 << columnNumber <<
true <<
true;
246 ds <<
QByteArray(
"EVAL_EXPRESSION") <<
id << objectDebugId << expr
264 ds <<
QByteArray(
"EVAL_EXPRESSION") <<
id << objectDebugId << expr;
284 ds <<
QByteArray(
"SET_BINDING") <<
id << objectDebugId << propertyName
285 << bindingExpression << isLiteralValue <<
source <<
line;
302 ds <<
QByteArray(
"RESET_BINDING") <<
id << objectDebugId << propertyName;
311 const QString &methodBody,
bool *success)
318 ds <<
QByteArray(
"SET_METHOD_BODY") <<
id << objectDebugId
332 o.debugId =
data.objectId;
333 o.className =
data.objectType;
334 o.idString =
data.idString;
335 o.name =
data.objectName;
336 o.source.url =
data.url;
337 o.source.lineNumber =
data.lineNumber;
338 o.source.columnNumber =
data.columnNumber;
339 o.contextDebugId =
data.contextId;
346 ds >> childCount >> recur;
348 for (
qint32 ii = 0; ii < childCount; ++ii) {
350 decode(ds,
o.children.last(), !recur);
376 obj.name =
data.value.toString();
384 o.properties << prop;
410 return d->rootContext;
428 return d->exprResult;
440 ds >>
c.name >>
c.debugId;
445 for (
qint32 ii = 0; ii < contextCount; ++ii) {
453 for (
qint32 ii = 0; ii < objectCount; ++ii) {
457 obj.contextDebugId =
c.debugId;
474 if (
type ==
"LIST_ENGINES_R") {
485 }
else if (
type ==
"LIST_OBJECTS_R") {
489 }
else if (
type ==
"FETCH_OBJECT_R") {
493 }
else if (
type ==
"FETCH_OBJECTS_FOR_LOCATION_R") {
497 }
else if (
type ==
"EVAL_EXPRESSION_R") {;
500 }
else if (
type ==
"WATCH_PROPERTY_R") {
503 }
else if (
type ==
"WATCH_OBJECT_R") {
506 }
else if (
type ==
"WATCH_EXPR_OBJECT_R") {
509 }
else if (
type ==
"UPDATE_WATCH") {
517 }
else if (
type ==
"OBJECT_CREATED") {
521 ds >> engineId >> objectId >> parentId;
524 }
else if (
type ==
"SET_BINDING_R") {
526 }
else if (
type ==
"RESET_BINDING_R") {
528 }
else if (
type ==
"SET_METHOD_BODY_R") {
530 }
else if (
type ==
"NO_WATCH_R") {
545#include "moc_qqmlenginedebugclient_p.cpp"
bool atEnd() const
Returns true if the I/O device has reached the end position (end of the stream or file) or if there i...
The QPacket class encapsulates an unfragmentable packet of data to be transmitted by QPacketProtocol.
const QByteArray & data() const
Returns a reference to the raw packet data.
void sendMessage(const QByteArray &message)
QQmlDebugConnection * connection() const
QQmlEngineDebugClientPrivate(QQmlDebugConnection *connection)
qint32 resetBindingForObject(qint32 objectDebugId, const QString &propertyName, bool *success)
void decode(QPacket &ds, QQmlEngineDebugContextReference &)
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
QVariant resultExpr() const
qint32 queryObjectsForLocation(const QString &file, qint32 lineNumber, qint32 columnNumber, bool *success)
\macro QT_RESTRICTED_CAST_FROM_ASCII
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
Combined button and popup list for selecting options.
DBusConnection * connection
static QString methodName(const QDBusIntrospection::Method &method)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLsizei propCount
GLsizei GLsizei GLchar * source
QPacket & operator>>(QPacket &ds, QQmlObjectData &data)