diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-07 12:56:06 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-05-07 13:16:46 +0200 |
commit | 468dcb84a544a56e2369f6fe235f1733c27cb7a9 (patch) | |
tree | ece5143d43f393484e6d2200b012ce7c6e87666c /src/qml/qml/qqmllocale_p.h | |
parent | 96b642b296a474d6d518b308e54bd09d8a358339 (diff) |
Ported locale extensions to the Number prototype to SimpleCallContext
Change-Id: I709b284d982b0b6c8f714d21f18b550d8380cde5
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmllocale_p.h')
-rw-r--r-- | src/qml/qml/qqmllocale_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h index dcc9746cc8..67f5f8f1a1 100644 --- a/src/qml/qml/qqmllocale_p.h +++ b/src/qml/qml/qqmllocale_p.h @@ -74,9 +74,9 @@ public: static void registerExtension(QV8Engine *engine); private: - static QV4::Value toLocaleString(const v8::Arguments& args); - static QV4::Value fromLocaleString(const v8::Arguments& args); - static QV4::Value toLocaleCurrencyString(const v8::Arguments& args); + static QV4::Value toLocaleString(QV4::SimpleCallContext *ctx); + static QV4::Value fromLocaleString(QV4::SimpleCallContext *ctx); + static QV4::Value toLocaleCurrencyString(QV4::SimpleCallContext *ctx); }; |