From e6b224aa2872d7d1030fa98bd30603e16f8f9604 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 20 Jan 2012 14:04:27 +1000 Subject: Update obsolete contact address. Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by: Rohan McGovern Reviewed-by: Alan Alpert --- src/declarative/qml/qdeclarativeimport_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/declarative/qml/qdeclarativeimport_p.h') diff --git a/src/declarative/qml/qdeclarativeimport_p.h b/src/declarative/qml/qdeclarativeimport_p.h index a71ccbeb30..31e6676056 100644 --- a/src/declarative/qml/qdeclarativeimport_p.h +++ b/src/declarative/qml/qdeclarativeimport_p.h @@ -2,7 +2,7 @@ ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) +** Contact: http://www.qt-project.org/ ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** -- cgit v1.2.3 From 149f6afe321ce59aebe4ce2f9dddd1881d0ac22b Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Wed, 18 Jan 2012 17:12:25 +1000 Subject: Allow JS API in modules Allow modules to export verisoned javascript code into specified namespaces. Task-number: QTBUG-20857 Change-Id: Ic968c697ba36cbc4535870ed5eed2fe7f01af11d Reviewed-by: Roberto Raggi --- src/declarative/qml/qdeclarativeimport_p.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/declarative/qml/qdeclarativeimport_p.h') diff --git a/src/declarative/qml/qdeclarativeimport_p.h b/src/declarative/qml/qdeclarativeimport_p.h index 31e6676056..a9648c0413 100644 --- a/src/declarative/qml/qdeclarativeimport_p.h +++ b/src/declarative/qml/qdeclarativeimport_p.h @@ -101,6 +101,15 @@ public: void populateCache(QDeclarativeTypeNameCache *cache, QDeclarativeEngine *) const; + struct ScriptReference + { + QString nameSpace; + QString qualifier; + QUrl location; + }; + + QList resolvedScripts() const; + private: friend class QDeclarativeImportDatabase; QDeclarativeImportsPrivate *d; -- cgit v1.2.3