diff options
Diffstat (limited to 'src/qml/qml/qqmllocale_p.h')
-rw-r--r-- | src/qml/qml/qqmllocale_p.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h index 744d82a6d2..f294137340 100644 --- a/src/qml/qml/qqmllocale_p.h +++ b/src/qml/qml/qqmllocale_p.h @@ -38,8 +38,7 @@ #include <QtCore/qlocale.h> #include <QtCore/qobject.h> -#include <private/qv8engine_p.h> - +#include <private/qqmlglobal_p.h> QT_BEGIN_NAMESPACE @@ -110,8 +109,8 @@ public: Saturday = Qt::Saturday }; - static QV4::ReturnedValue locale(QV8Engine *v8engine, const QString &localeName); - static QV4::ReturnedValue wrap(QV8Engine *engine, const QLocale &locale); + static QV4::ReturnedValue locale(QV4::ExecutionEngine *engine, const QString &localeName); + static QV4::ReturnedValue wrap(QV4::ExecutionEngine *engine, const QLocale &locale); static void registerStringLocaleCompare(QV4::ExecutionEngine *engine); |