diff options
| author | Thomas Hartmann <[email protected]> | 2010-11-11 11:11:48 +0100 |
|---|---|---|
| committer | Christian Kamm <[email protected]> | 2010-11-11 11:49:11 +0100 |
| commit | d63199ca13f92e51ce1f425edcf21f5f3a592bed (patch) | |
| tree | e44cb568ad501b530c1ae3343487adf1f3621d32 /src/libs/qmljs/qmljsinterpreter.h | |
| parent | 806c8a563d8434613c7c0f2bb07cf73a8648511d (diff) | |
QmlJS: Resolve property types within package.
Reviewed-by: Christian Kamm
Diffstat (limited to 'src/libs/qmljs/qmljsinterpreter.h')
| -rw-r--r-- | src/libs/qmljs/qmljsinterpreter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/qmljs/qmljsinterpreter.h b/src/libs/qmljs/qmljsinterpreter.h index 76f0a975228..cb273f5f834 100644 --- a/src/libs/qmljs/qmljsinterpreter.h +++ b/src/libs/qmljs/qmljsinterpreter.h @@ -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; |
