QmlJS: Refactor ObjectValue members.

* property -> lookupMember
* setProperty -> setMember
* removeProperty -> removeMember

Change-Id: I638479ee2b90b684283e714630bdcab237f6b3f2
Done-with: Fawzi Mohamed
Reviewed-on: http://codereview.qt.nokia.com/77
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
Christian Kamm
2011-05-24 11:50:10 +02:00
committed by Fawzi Mohamed
parent 4bd6bb4d55
commit d67b7d17dc
10 changed files with 112 additions and 112 deletions

View File

@@ -238,10 +238,10 @@ private:
if (!chain || !chain->document)
return false;
if (chain->document->bind()->idEnvironment()->property(_name, _context))
if (chain->document->bind()->idEnvironment()->lookupMember(_name, _context))
return chain->document->bind()->idEnvironment() == _scope;
const ObjectValue *root = chain->document->bind()->rootObjectValue();
if (root->property(_name, _context)) {
if (root->lookupMember(_name, _context)) {
return check(root);
}