5#ifndef QQMLDEBUGSTATESDELEGATE_P_H
6#define QQMLDEBUGSTATESDELEGATE_P_H
19#include <QtQml/qtqmlglobal.h>
20#include <QtCore/QList>
21#include <QtCore/QPointer>
22#include <QtCore/private/qglobal_p.h>
26#if !QT_CONFIG(qml_debug)
28class QQmlDebugStatesDelegate {};
38class QQmlDebugStatesDelegate
41 QQmlDebugStatesDelegate() {}
44 virtual ~QQmlDebugStatesDelegate() {}
46 virtual void buildStatesList(
bool cleanList,
47 const QList<QPointer<QObject> > &instances) = 0;
48 virtual void updateBinding(QQmlContext *context,
49 const QQmlProperty &property,
50 const QVariant &expression,
bool isLiteralValue,
51 const QString &fileName,
int line,
int column,
52 bool *inBaseState) = 0;
53 virtual bool setBindingForInvalidProperty(QObject *object,
54 const QString &propertyName,
55 const QVariant &expression,
56 bool isLiteralValue) = 0;
57 virtual void resetBindingForInvalidProperty(QObject *object,
58 const QString &propertyName) = 0;
61 Q_DISABLE_COPY(QQmlDebugStatesDelegate)