Use the correct export macros
authorLars Knoll <lars.knoll@nokia.com>
Mon, 8 Aug 2011 13:38:21 +0000 (15:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 11 Aug 2011 15:50:58 +0000 (17:50 +0200)
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>
src/declarative/qml/v8/qjsengine.h
src/declarative/qml/v8/qjsvalue.h
src/declarative/qml/v8/qjsvalueiterator.h

index 5109cef..759363a 100644 (file)
@@ -35,7 +35,7 @@ QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE
 
-QT_MODULE(Script)
+QT_MODULE(Declarative)
 
 class QDateTime;
 class QV8Engine;
@@ -45,7 +45,7 @@ class QRegExp;
 template <typename T>
 inline T qjsvalue_cast(const QJSValue &);
 
-class Q_SCRIPT_EXPORT QJSEngine
+class Q_DECLARATIVE_EXPORT QJSEngine
     : public QObject
 {
     Q_OBJECT
index 07276bc..8b78add 100644 (file)
@@ -34,7 +34,7 @@ QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE
 
-QT_MODULE(Script)
+QT_MODULE(Declarative)
 
 class QJSValue;
 class QJSEngine;
@@ -50,7 +50,7 @@ class QJSValuePrivate;
 struct QScriptValuePrivatePointerDeleter;
 template <class T> class QScriptPassPointer;
 
-class Q_SCRIPT_EXPORT QJSValue
+class Q_DECLARATIVE_EXPORT QJSValue
 {
 public:
     enum PropertyFlag {
index 1ec4d4b..575421d 100644 (file)
@@ -31,12 +31,12 @@ QT_BEGIN_HEADER
 
 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);