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