Otherwise we'll get problems when compiling
on Windows.
Change-Id: I2a366da3cd4cd08ba8bc8d9c8c81409737bee697
Reviewed-on: http://codereview.qt.nokia.com/2752
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
QT_BEGIN_NAMESPACE
-QT_MODULE(Script)
+QT_MODULE(Declarative)
class QDateTime;
class QV8Engine;
template <typename T>
inline T qjsvalue_cast(const QJSValue &);
-class Q_SCRIPT_EXPORT QJSEngine
+class Q_DECLARATIVE_EXPORT QJSEngine
: public QObject
{
Q_OBJECT
QT_BEGIN_NAMESPACE
-QT_MODULE(Script)
+QT_MODULE(Declarative)
class QJSValue;
class QJSEngine;
struct QScriptValuePrivatePointerDeleter;
template <class T> class QScriptPassPointer;
-class Q_SCRIPT_EXPORT QJSValue
+class Q_DECLARATIVE_EXPORT QJSValue
{
public:
enum PropertyFlag {
QT_BEGIN_NAMESPACE
-QT_MODULE(Script)
+QT_MODULE(Declarative)
class QString;
class QJSValueIteratorPrivate;
-class Q_SCRIPT_EXPORT QJSValueIterator
+class Q_DECLARATIVE_EXPORT QJSValueIterator
{
public:
QJSValueIterator(const QJSValue &value);