Compile with qt-qml.

This commit is contained in:
Roberto Raggi
2010-07-08 15:44:35 +02:00
parent 1d66829941
commit 1b5dd002c4
2 changed files with 9 additions and 9 deletions

View File

@@ -248,10 +248,10 @@ QList<QDeclarativeDebugObjectReference> ClientProxy::objectReferences(const QUrl
return result; return result;
} }
QDeclarativeDebugExpressionQuery *ClientProxy::setBindingForObject(int objectDebugId, bool ClientProxy::setBindingForObject(int objectDebugId,
const QString &propertyName, const QString &propertyName,
const QVariant &value, const QVariant &value,
bool isLiteralValue) bool isLiteralValue)
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
@@ -259,7 +259,7 @@ QDeclarativeDebugExpressionQuery *ClientProxy::setBindingForObject(int objectDeb
return 0; return 0;
qDebug() << "executeBinding():" << objectDebugId << propertyName << value << "isLiteral:" << isLiteralValue; qDebug() << "executeBinding():" << objectDebugId << propertyName << value << "isLiteral:" << isLiteralValue;
return m_client->setBindingForObject(objectDebugId, propertyName, value.toString(), isLiteralValue, 0); return m_client->setBindingForObject(objectDebugId, propertyName, value.toString(), isLiteralValue);
} }
void ClientProxy::queryEngineContext(int id) void ClientProxy::queryEngineContext(int id)

View File

@@ -55,10 +55,10 @@ class ClientProxy : public QObject
public: public:
static ClientProxy *instance(); static ClientProxy *instance();
QDeclarativeDebugExpressionQuery *setBindingForObject(int objectDebugId, bool setBindingForObject(int objectDebugId,
const QString &propertyName, const QString &propertyName,
const QVariant &value, const QVariant &value,
bool isLiteralValue); bool isLiteralValue);
// returns the object references for the given url. // returns the object references for the given url.
QList<QDeclarativeDebugObjectReference> objectReferences(const QUrl &url = QUrl()) const; QList<QDeclarativeDebugObjectReference> objectReferences(const QUrl &url = QUrl()) const;