42 #ifndef QDECLARATIVEENGINE_P_H 43 #define QDECLARATIVEENGINE_P_H 58 #include "private/qdeclarativetypeloader_p.h" 59 #include "private/qdeclarativeimport_p.h" 60 #include "private/qpodvector_p.h" 62 #include "private/qdeclarativevaluetype_p.h" 64 #include "private/qdeclarativecontext_p.h" 67 #include "private/qdeclarativeproperty_p.h" 68 #include "private/qdeclarativepropertycache_p.h" 69 #include "private/qdeclarativeobjectscriptclass_p.h" 70 #include "private/qdeclarativecontextscriptclass_p.h" 71 #include "private/qdeclarativevaluetypescriptclass_p.h" 72 #include "private/qdeclarativemetatype_p.h" 73 #include "private/qdeclarativedirparser_p.h" 75 #include <QtScript/QScriptClass> 76 #include <QtScript/QScriptValue> 77 #include <QtScript/QScriptString> 78 #include <QtCore/qstring.h> 79 #include <QtCore/qlist.h> 80 #include <QtCore/qpair.h> 81 #include <QtCore/qstack.h> 82 #include <QtCore/qmutex.h> 83 #include <QtScript/qscriptengine.h> 85 #include <private/qobject_p.h> 150 : object(o), coreIndex(c), notifier(0), notifyIndex(n) {}
152 : object(0), coreIndex(-1), notifier(n), notifyIndex(-1) {}
196 : count(0),
values(new T*[r]) {}
205 T *
at(
int idx)
const {
265 bool isList(
int)
const;
266 int listType(
int)
const;
267 const QMetaObject *rawMetaObjectForType(
int)
const;
309 #ifndef QT_NO_DATESTRING 324 static QString urlToLocalFileOrQrc(
const QUrl& url);
326 static void defineModule();
327 static void defineModuleCompat();
347 if (!rv) rv = createCache(mo);
365 if (!rv) rv = createCache(metaObject);
382 if (!rv) rv = createCache(type, minorVersion, error);
388 #endif // QDECLARATIVEENGINE_P_H ImageType
Defines the type of image supported by this image provider.
The QVariant class acts like a union for the most common Qt data types.
The QDir class provides access to directory structures and their contents.
static QScriptEngine * getScriptEngine(QDeclarativeEngine *e)
The QScriptContext class represents a Qt Script function invocation.
QDeclarativeCleanup * cleanup
QDeclarativeTypeNameScriptClass * typeNameClass
QHash< QString, QScriptValue > m_sharedScriptImports
virtual QNetworkAccessManager * networkAccessManager()
QDeclarativeNetworkAccessManagerFactory * networkAccessManagerFactory
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
The QScriptClass class provides an interface for defining custom behavior of (a class of) Qt Script o...
QList< QPair< QDeclarativeGuard< QObject >, int > > finalizedParserStatus
QScriptClass * namedNodeMapClass
static QDeclarativeEngine * getEngine(QScriptEngine *e)
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QDeclarativePropertyCache * cache(QObject *obj)
Returns a QDeclarativePropertyCache for obj if one is available.
QDeclarativeGlobalScriptClass * globalClass
static void clear(QVariant::Private *d)
QString offlineStoragePath
The QUrl class provides a convenient interface for working with URLs.
QDeclarativeTypeLoader typeLoader
QHash< int, int > m_qmlLists
The QString class provides a Unicode character string.
The QHash class is a template class that provides a hash-table-based dictionary.
QScriptClass * sqlQueryClass
The QObject class is the base class of all Qt objects.
virtual ~QDeclarativeScriptEngine()
static QDeclarativeEnginePrivate * get(QDeclarativeEngine *e)
static QObjectPrivate * get(QObject *o)
bool containsRevisionedAttributes() const
QDeclarativeContext * rootContext
static bool qml_debugging_enabled
void append(const T &t)
Inserts value at the end of the list.
The QScriptEngine class provides an environment for evaluating Qt Script code.
#define QT_BEGIN_NAMESPACE
This macro expands to.
CapturedProperty(QDeclarativeNotifier *n)
QDeclarativeScriptEngine scriptEngine
QDeclarativeWorkerScriptEngine * workerScriptEngine
The QImage class provides a hardware-independent image representation that allows direct access to th...
QDeclarativeScriptEngine(QDeclarativeEnginePrivate *priv)
The QDeclarativeError class encapsulates a QML error.
void registerFinalizedParserStatusObject(QObject *obj, int index)
QHash< QPair< QDeclarativeType *, int >, QDeclarativePropertyCache * > typePropertyCache
QDeclarativeImportDatabase importDatabase
QDeclarativeValueTypeScriptClass * valueTypeClass
quint32 getUniqueId() const
QHash< int, QDeclarativeCompiledData * > m_compositeTypes
QString offlineStoragePath
The QNetworkAccessManager class allows the application to send network requests and receive replies...
QList< SimpleList< QDeclarativeAbstractBinding > > bindValues
QScriptClass * nodeListClass
QDeclarativeContextData * sharedContext
QUrl resolvedUrl(QScriptContext *context, const QUrl &url)
QDeclarativeObjectScriptClass * objectClass
const QMetaObject * metaObject() const
#define Q_DECLARE_PUBLIC(Class)
The QDeclarativeNetworkAccessManagerFactory class creates QNetworkAccessManager instances for a QML e...
static HIMC getContext(HWND wnd)
The QDeclarativeEngine class provides an environment for instantiating QML components.
QDeclarativeListScriptClass * listClass
QDeclarativeValueTypeFactory valueTypes
QDeclarativeDelayedError * erroredBindings
QObject * parent() const
Returns a pointer to the parent object.
Q_OUTOFLINE_TEMPLATE QPair< T1, T2 > qMakePair(const T1 &x, const T2 &y)
#define Q_AUTOTEST_EXPORT
QDeclarativeComponentAttached * componentAttached
The QDeclarativeContext class defines a context within a QML engine.
The QPixmap class is an off-screen image representation that can be used as a paint device...
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
QDeclarativeEnginePrivate * p
The QSize class defines the size of a two-dimensional object using integer point precision.
The QDeclarativeExpression class evaluates JavaScript in a QML context.
QHash< const QMetaObject *, QDeclarativePropertyCache * > propertyCache
QHash< QString, QSharedPointer< QDeclarativeImageProvider > > imageProviders
The QScriptValue class acts as a container for the Qt Script data types.
QPODVector< CapturedProperty, 16 > capturedProperties
QNetworkAccessManager * networkAccessManager
CapturedProperty(QObject *o, int c, int n)
QList< SimpleList< QDeclarativeParserStatus > > parserStatus
virtual const QMetaObject * metaObject() const
Returns a pointer to the meta-object of this object.
bool outputWarningsToStdErr
The QList class is a template class that provides lists.
The QDeclarativeImportDatabase class manages the QML imports for a QDeclarativeEngine.
QDeclarativeContextScriptClass * contextClass
QDeclarativeNotifier * notifier