diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-03-01 06:45:59 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-03-01 06:45:59 (GMT) |
commit | 0d8a94c74a8799b278d32d9cf0c32dee7cd35d11 (patch) | |
tree | f38b92bfe1fc77ddedfe5cd6ddf1f283a8a71d64 /src/declarative/qml/qdeclarativeworkerscript_p.h | |
parent | fa7053103f4aa528972dc8766c05b5a1371b2bd8 (diff) | |
download | Qt-0d8a94c74a8799b278d32d9cf0c32dee7cd35d11.zip Qt-0d8a94c74a8799b278d32d9cf0c32dee7cd35d11.tar.gz Qt-0d8a94c74a8799b278d32d9cf0c32dee7cd35d11.tar.bz2 |
Export QDeclarativeWorkerScript and QDeclarativeWorkerListModel and
call other usual macros.
Diffstat (limited to 'src/declarative/qml/qdeclarativeworkerscript_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativeworkerscript_p.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeworkerscript_p.h b/src/declarative/qml/qdeclarativeworkerscript_p.h index 8ebd2c1..a810801 100644 --- a/src/declarative/qml/qdeclarativeworkerscript_p.h +++ b/src/declarative/qml/qdeclarativeworkerscript_p.h @@ -61,8 +61,12 @@ #include <QtScript/qscriptvalue.h> #include <QtCore/qurl.h> +QT_BEGIN_HEADER + QT_BEGIN_NAMESPACE +QT_MODULE(Declarative) + class QDeclarativeWorkerScript; class QDeclarativeWorkerScriptEnginePrivate; class QDeclarativeWorkerScriptEngine : public QThread @@ -84,7 +88,7 @@ private: QDeclarativeWorkerScriptEnginePrivate *d; }; -class QDeclarativeWorkerScript : public QObject, public QDeclarativeParserStatus +class Q_DECLARATIVE_EXPORT QDeclarativeWorkerScript : public QObject, public QDeclarativeParserStatus { Q_OBJECT Q_PROPERTY(QUrl source READ source WRITE setSource NOTIFY sourceChanged) @@ -115,7 +119,7 @@ private: }; class QDeclarativeWorkerListModelAgent; -class QDeclarativeWorkerListModel : public QListModelInterface +class Q_DECLARATIVE_EXPORT QDeclarativeWorkerListModel : public QListModelInterface { Q_OBJECT Q_PROPERTY(int count READ count NOTIFY countChanged) @@ -157,4 +161,6 @@ QT_END_NAMESPACE QML_DECLARE_TYPE(QDeclarativeWorkerScript); QML_DECLARE_TYPE(QDeclarativeWorkerListModel); +QT_END_HEADER + #endif // QDECLARATIVEWORKERSCRIPT_P_H |