qmljs: uniform property info

CppComponent has extra information on properties that makes sense
also for ObjectValues, change the processProperty method to pass
in an extra struct with that info (and that can be later extended).

Change-Id: If09b178a4095bed03ff59bfb2164088309d2c8e2
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-07-14 18:38:27 +02:00
parent 5518d70d72
commit 4a60aa7f05
5 changed files with 134 additions and 18 deletions

View File

@@ -245,7 +245,7 @@ private:
(*_propertyProcessor)(_currentObject, name, value);
}
bool processProperty(const QString &name, const Value *value) QTC_OVERRIDE
bool processProperty(const QString &name, const Value *value, const PropertyInfo &) QTC_OVERRIDE
{
process(name, value);
return true;