42 #ifndef QDECLARATIVEWORKERSCRIPT_P_H 43 #define QDECLARATIVEWORKERSCRIPT_P_H 59 #include <QtCore/qthread.h> 60 #include <QtScript/qscriptvalue.h> 61 #include <QtCore/qurl.h> 101 void setSource(
const QUrl &);
107 void sourceChanged();
111 virtual void classBegin();
112 virtual void componentComplete();
129 #endif // QDECLARATIVEWORKERSCRIPT_P_H The QVariant class acts like a union for the most common Qt data types.
QDeclarativeWorkerScriptEngine * m_engine
QDeclarativeWorkerScriptEngine(QDeclarativeEngine *parent=0)
#define QT_END_NAMESPACE
This macro expands to.
#define QML_DECLARE_TYPE(TYPE)
int registerWorkerScript(QDeclarativeWorkerScript *)
virtual void run()
The starting point for the thread.
The QUrl class provides a convenient interface for working with URLs.
The QObject class is the base class of all Qt objects.
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
#define QT_BEGIN_NAMESPACE
This macro expands to.
void executeUrl(int, const QUrl &)
The QDeclarativeParserStatus class provides updates on the QML parser state.
QDeclarativeWorkerScriptEnginePrivate * d
void sendMessage(int, const QVariant &)
void removeWorkerScript(int)
The QDeclarativeEngine class provides an environment for instantiating QML components.
#define Q_INTERFACES(x)
This macro tells Qt which interfaces the class implements.
QObject * parent() const
Returns a pointer to the parent object.
#define Q_AUTOTEST_EXPORT
The QEvent class is the base class of all event classes.
The QThread class provides a platform-independent way to manage threads.
The QScriptValue class acts as a container for the Qt Script data types.
virtual ~QDeclarativeWorkerScriptEngine()