summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext.h
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-18 07:59:31 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-18 07:59:31 (GMT)
commit223746067a9a1b3f5c6195868b5e510311608ca1 (patch)
treef8dfc604a035075e4a7e6d20e0930a6c6cfc4db8 /src/declarative/qml/qmlcontext.h
parente4fad48d5e5ac227381bb9fba05dfb31a8338ed5 (diff)
downloadQt-223746067a9a1b3f5c6195868b5e510311608ca1.zip
Qt-223746067a9a1b3f5c6195868b5e510311608ca1.tar.gz
Qt-223746067a9a1b3f5c6195868b5e510311608ca1.tar.bz2
Resolve attached property typenames in correct context.
The imports of the component containing the reference to the attached property are used to resolve typenames, rather than assuming "Qt" namespace.
Diffstat (limited to 'src/declarative/qml/qmlcontext.h')
-rw-r--r--src/declarative/qml/qmlcontext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcontext.h b/src/declarative/qml/qmlcontext.h
index 70a81fc..65d711c 100644
--- a/src/declarative/qml/qmlcontext.h
+++ b/src/declarative/qml/qmlcontext.h
@@ -56,6 +56,8 @@ class QString;
class QmlEngine;
class QmlRefCount;
class QmlContextPrivate;
+class QmlCompositeTypeData;
+
class Q_DECLARATIVE_EXPORT QmlContext : public QObject
{
Q_OBJECT
@@ -76,6 +78,7 @@ public:
QUrl resolvedUrl(const QUrl &);
void setBaseUrl(const QUrl &);
+ QUrl baseUrl() const;
private:
friend class QmlVME;