42 #ifndef QDECLARATIVETYPELOADER_P_H 43 #define QDECLARATIVETYPELOADER_P_H 56 #include <QtCore/qobject.h> 57 #include <QtNetwork/qnetworkreply.h> 58 #include <QtDeclarative/qdeclarativeerror.h> 59 #include <QtDeclarative/qdeclarativeengine.h> 60 #include <private/qdeclarativescriptparser_p.h> 61 #include <private/qdeclarativedirparser_p.h> 62 #include <private/qdeclarativeimport_p.h> 98 bool isLoading()
const;
99 bool isWaiting()
const;
100 bool isComplete()
const;
101 bool isError()
const;
102 bool isCompleteOrError()
const;
104 qreal progress()
const;
107 QUrl finalUrl()
const;
117 virtual void dataReceived(
const QByteArray &) = 0;
124 virtual void allDependenciesDone();
126 virtual void downloadProgressChanged(
qreal);
131 void cancelAllWaitingFor();
132 void notifyAllWaitingOnMe();
170 void networkReplyFinished();
271 virtual void dataReceived(
const QByteArray &);
272 virtual void allDependenciesDone();
273 virtual void downloadProgressChanged(
qreal);
304 QDeclarativeParser::Object::ScriptBlock::Pragmas pragmas()
const;
308 virtual void dataReceived(
const QByteArray &);
311 QDeclarativeParser::Object::ScriptBlock::Pragmas
m_pragmas;
323 virtual void dataReceived(
const QByteArray &);
332 #endif // QDECLARATIVETYPELOADER_P_H The QDeclarativeDataBlob encapsulates a data request that can be issued to a QDeclarativeDataLoader.
QHash< QUrl, QDeclarativeTypeData * > TypeCache
QHash< QUrl, QDeclarativeQmldirData * > QmldirCache
QDeclarativeEngine * m_engine
#define QT_END_NAMESPACE
This macro expands to.
Status
This enum describes the status of the data blob.
QDeclarativeDataLoader * m_manager
QList< QDeclarativeError > m_errors
QDeclarativeParser::Object::ScriptBlock::Pragmas m_pragmas
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
QHash< QString, StringSet * > ImportDirCache
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QByteArray class provides an array of bytes.
QDeclarativeCompiledData * m_compiledData
NetworkError
Indicates all possible error conditions found during the processing of the request.
NetworkReplies m_networkReplies
static LibLoadStatus status
QList< TypeDataCallback * > m_callbacks
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QList< QDeclarativeDataBlob * > m_waitingOnMe
The QDeclarativeDataLoader class abstracts loading files and their dependencies over the network...
QDeclarativeTypeData * typeData
Option
This enum defines the options that control the way type data is handled.
The QDeclarativeImports class encapsulates one QML document's import statements.
Type
This enum describes the type of the data blob.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QDeclarativeImports m_imports
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
virtual void typeDataReady(QDeclarativeTypeData *)
QDeclarativeParser::Location location
static bool setData(const QByteArray &data, STGMEDIUM *pmedium)
virtual void typeDataProgress(QDeclarativeTypeData *, qreal)
QList< QDeclarativeDataBlob * > m_waitingFor
ScriptCache m_scriptCache
The QDeclarativeError class encapsulates a QML error.
QSet< QString > StringSet
QDeclarativeDirComponents m_components
QHash< QUrl, QDeclarativeScriptData * > ScriptCache
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
QDeclarativeScriptData * script
QDeclarativeTypeLoader::Options m_options
The QDeclarativeEngine class provides an environment for instantiating QML components.
QHash< QString, QDeclarativeDirParser * > ImportQmlDirCache
QmldirCache m_qmldirCache
QHash< QNetworkReply *, QDeclarativeDataBlob * > NetworkReplies
#define Q_AUTOTEST_EXPORT
QDeclarativeScriptParser scriptParser
ImportDirCache m_importDirCache
QList< QDeclarativeQmldirData * > m_qmldirs
QList< TypeReference > m_types
QDeclarativeTypeLoader * m_typeLoader
QDeclarativeParser::Location location
QList< ScriptReference > m_scripts
ImportQmlDirCache m_importQmlDirCache
static bool isNull(const QVariant::Private *d)