Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
qmlbindingtools.cpp File Reference

The qml_binding tool: which properties of an object are bound now (design 0022). More...

#include <sonde/objecttree.h>
#include <sonde/qmltools.h>
#include <sonde/schema.h>
#include "qmldebugclient_p.h"
#include <QtCore/QJsonArray>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QtCore/QMetaProperty>
#include <QtCore/QPointer>
#include <QtCore/QProperty>
#include <QtQml/QQmlContext>
#include <QtQml/qqml.h>

Classes

struct  Sonde::anonymous_namespace{qmlbindingtools.cpp}::PropertyState
 One property's binding state, as the tool reports it. More...

Namespaces

namespace  Sonde
 Embeddable Model Context Protocol server for Qt applications.

Functions

QString Sonde::anonymous_namespace{qmlbindingtools.cpp}::jsonText (const QJsonValue &value)
 value as compact JSON text.
QString Sonde::anonymous_namespace{qmlbindingtools.cpp}::brokenBindingsHint ()
 Where broken bindings are reported, for the tool's answers.
QList< PropertyState > Sonde::anonymous_namespace{qmlbindingtools.cpp}::propertyStates (QObject *object, const QmlDebug::ServiceObject *service)
 The properties of object, each bound if a BINDABLE binding or (from the service, service) a QML binding sets it.
ToolResult Sonde::anonymous_namespace{qmlbindingtools.cpp}::answer (const QObject *object, const QString &property, const QList< PropertyState > &states, const QmlDebug::ServiceObject *service, const QString &serviceError)
 The answer, from states and what the service said about the object (if anything).
void Sonde::anonymous_namespace{qmlbindingtools.cpp}::qmlBinding (const ToolCall &call)
 The qml_binding tool.
void Sonde::installQmlBindingTool (Server &server)
 Registers qml_binding on server.

Detailed Description

The qml_binding tool: which properties of an object are bound now (design 0022).