src/declarative/debugger/qdeclarativedebug_p.h
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    92     QDeclarativeDebugObjectQuery *queryObjectRecursive(const QDeclarativeDebugObjectReference &, 
    92     QDeclarativeDebugObjectQuery *queryObjectRecursive(const QDeclarativeDebugObjectReference &, 
    93                                               QObject *parent = 0);
    93                                               QObject *parent = 0);
    94     QDeclarativeDebugExpressionQuery *queryExpressionResult(int objectDebugId, 
    94     QDeclarativeDebugExpressionQuery *queryExpressionResult(int objectDebugId, 
    95                                                    const QString &expr,
    95                                                    const QString &expr,
    96                                                    QObject *parent = 0);
    96                                                    QObject *parent = 0);
       
    97     bool setBindingForObject(int objectDebugId, const QString &propertyName,
       
    98                              const QVariant &bindingExpression, bool isLiteralValue);
       
    99     bool resetBindingForObject(int objectDebugId, const QString &propertyName);
       
   100     bool setMethodBody(int objectDebugId, const QString &methodName, const QString &methodBody);
    97 
   101 
    98 private:
   102 private:
    99     Q_DECLARE_PRIVATE(QDeclarativeEngineDebug)
   103     Q_DECLARE_PRIVATE(QDeclarativeEngineDebug)
   100 };
   104 };
   101 
   105 
   346 class Q_DECLARATIVE_EXPORT QDeclarativeDebugExpressionQuery : public QDeclarativeDebugQuery
   350 class Q_DECLARATIVE_EXPORT QDeclarativeDebugExpressionQuery : public QDeclarativeDebugQuery
   347 {
   351 {
   348 Q_OBJECT
   352 Q_OBJECT
   349 public:
   353 public:
   350     virtual ~QDeclarativeDebugExpressionQuery();
   354     virtual ~QDeclarativeDebugExpressionQuery();
   351     QString expression() const;
   355     QVariant expression() const;
   352     QVariant result() const;
   356     QVariant result() const;
   353 private:
   357 private:
   354     friend class QDeclarativeEngineDebug;
   358     friend class QDeclarativeEngineDebug;
   355     friend class QDeclarativeEngineDebugPrivate;
   359     friend class QDeclarativeEngineDebugPrivate;
   356     QDeclarativeDebugExpressionQuery(QObject *);
   360     QDeclarativeDebugExpressionQuery(QObject *);
   357     QDeclarativeEngineDebug *m_client;
   361     QDeclarativeEngineDebug *m_client;
   358     int m_queryId;
   362     int m_queryId;
   359     QString m_expr;
   363     QVariant m_expr;
   360     QVariant m_result;
   364     QVariant m_result;
   361 
   365 
   362 };
   366 };
   363 
   367 
   364 QT_END_NAMESPACE
   368 QT_END_NAMESPACE