aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qml.pri
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-05-08 16:48:09 +0200
committerLars Knoll <lars.knoll@digia.com>2013-05-09 08:29:06 +0200
commit85c68794c9ed02b0aabd8b31c89c603242155183 (patch)
treed85db20dad2ffdf4bbba45ffd7540e63113e971f /src/qml/qml/qml.pri
parent995d65f3f4f348757363ba2a3a3c3444aa281b4e (diff)
Begin implement C++ style wrappers in QQmlLocale
The locale.currencySymbol function is converted into a member function of the wrapper. For the time of the transition the prototype chain is modified to be obj -> v8 proto template -> v4classgen generated proto Change-Id: I72913e9d284a2a3678b23c7d7ce27fbb3447f1fb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qml.pri')
-rw-r--r--src/qml/qml/qml.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qml.pri b/src/qml/qml/qml.pri
index 29cd4374c7..24e7f5b2e4 100644
--- a/src/qml/qml/qml.pri
+++ b/src/qml/qml/qml.pri
@@ -126,6 +126,8 @@ HEADERS += \
$$PWD/qqmlapplicationengine_p.h \
$$PWD/qqmlapplicationengine.h
+JS_CLASS_SOURCES += \
+ $$PWD/qqmllocale.cpp
include(parser/parser.pri)
include(rewriter/rewriter.pri)