QmlJS: Resolve property types within package.

Reviewed-by: Christian Kamm
This commit is contained in:
Thomas Hartmann
2010-11-11 11:11:48 +01:00
committed by Christian Kamm
parent 806c8a563d
commit d63199ca13
2 changed files with 20 additions and 3 deletions

View File

@@ -420,6 +420,7 @@ public:
const Value *propertyValue(const FakeMetaProperty &prop) const;
QString packageName() const;
QString nameInPackage(const QString &packageName) const;
ComponentVersion version() const;
QString defaultPropertyName() const;
QString propertyType(const QString &propertyName) const;
@@ -563,7 +564,8 @@ public:
void load(Interpreter::Engine *interpreter, const QList<const FakeMetaObject *> &objects);
QList<Interpreter::QmlObjectValue *> typesForImport(const QString &prefix, ComponentVersion version) const;
Interpreter::QmlObjectValue *typeForImport(const QString &qualifiedName) const;
Interpreter::QmlObjectValue *typeForImport(const QString &qualifiedName,
ComponentVersion version = ComponentVersion()) const;
bool hasPackage(const QString &package) const;