69 if (!m_statesDelegate)
70 m_statesDelegate = createStatesDelegate();
71 return m_statesDelegate;
81 friend class QQmlDebuggerServiceFactory;
83 void processMessage(
const QByteArray &msg);
84 void propertyChanged(qint32 id, qint32 objectId,
const QMetaProperty &property,
85 const QVariant &value);
87 void prepareDeferredObjects(QObject *);
88 void buildObjectList(QDataStream &, QQmlContext *,
89 const QList<QPointer<QObject> > &instances);
90 void buildObjectDump(QDataStream &, QObject *,
bool,
bool);
91 void buildStatesList(
bool cleanList,
const QList<QPointer<QObject> > &instances);
94 QVariant valueContents(QVariant defaultValue)
const;
95 bool setBinding(
int objectId,
const QString &propertyName,
const QVariant &expression,
bool isLiteralValue, QString filename = QString(),
int line = -1,
int column = 0);
96 bool resetBinding(
int objectId,
const QString &propertyName);
97 bool setMethodBody(
int objectId,
const QString &method,
const QString &body);
98 void storeObjectIds(QObject *co);
99 QList<QObject *> objectForLocationInfo(
const QString &filename,
int lineNumber,
102 QList<QJSEngine *> m_engines;
104 QQmlDebugStatesDelegate *m_statesDelegate;