18#include <private/qqmltypeloader_p.h>
33 template<
typename Callback>
37 const auto range = m_imports.equal_range(blob);
40 if ((
it->import->priority == 0) || (
it->import->priority >
it->priority)) {
42 if (!callback(
it->import))
44 it->import->priority =
it->priority;
57 struct PrioritizedImport {
58 PendingImportPtr
import;
virtual void dataReceived(const SourceCodeData &)=0
Invoked when data for the blob is received.
virtual void initializeFromCachedUnit(const QQmlPrivate::CachedQmlUnit *)=0
bool processImports(Blob *blob, const Callback &callback) const
The QQmlTypeLoader class abstracts loading files and their dependencies over the network.
\macro QT_RESTRICTED_CAST_FROM_ASCII
myinstance setPriority(MyClass::VeryHigh)
QSet< QString >::iterator it
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE typedef void(* Callback)(QQmlNotifierEndpoint *, void **)
#define Q_AUTOTEST_EXPORT