diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-02-22 14:54:36 (GMT) |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2010-02-22 17:12:13 (GMT) |
commit | 20fc9f2e264f34dd8580949ddbe5511b78ab0ac4 (patch) | |
tree | 3d407e6bbb3d6ce150a840b2cd27dec3fdc2a92b /src/declarative/qml/qmlextensioninterface.h | |
parent | cdeb85498e4cbd37022ba2bf4dc594db2326d0a4 (diff) | |
download | Qt-20fc9f2e264f34dd8580949ddbe5511b78ab0ac4.zip Qt-20fc9f2e264f34dd8580949ddbe5511b78ab0ac4.tar.gz Qt-20fc9f2e264f34dd8580949ddbe5511b78ab0ac4.tar.bz2 |
Load QML extensions.
This allows projects which use the QtDeclarative module to register QML
types and functions through C++ extensions.
Reviewed-by: mae
Diffstat (limited to 'src/declarative/qml/qmlextensioninterface.h')
-rw-r--r-- | src/declarative/qml/qmlextensioninterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlextensioninterface.h b/src/declarative/qml/qmlextensioninterface.h index d37a5bc..cbdd34c 100644 --- a/src/declarative/qml/qmlextensioninterface.h +++ b/src/declarative/qml/qmlextensioninterface.h @@ -54,7 +54,7 @@ class QmlEngine; struct Q_DECLARATIVE_EXPORT QmlExtensionInterface { - virtual void initialize(QmlEngine *engine) = 0; + virtual void initialize(QmlEngine *engine, const QString &uri) = 0; }; Q_DECLARE_INTERFACE(QmlExtensionInterface, "com.trolltech.Qt.QmlExtensionInterface/1.0") |