Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlTypeLoaderThread Class Reference

#include <qqmltypeloaderthread_p.h>

+ Inheritance diagram for QQmlTypeLoaderThread:
+ Collaboration diagram for QQmlTypeLoaderThread:

Public Member Functions

 QQmlTypeLoaderThread (QQmlTypeLoader *loader)
 
void load (const QQmlDataBlob::Ptr &b)
 
void loadAsync (const QQmlDataBlob::Ptr &b)
 
void loadWithStaticData (const QQmlDataBlob::Ptr &b, const QByteArray &)
 
void loadWithStaticDataAsync (const QQmlDataBlob::Ptr &b, const QByteArray &)
 
void loadWithCachedUnit (const QQmlDataBlob::Ptr &b, const QQmlPrivate::CachedQmlUnit *unit)
 
void loadWithCachedUnitAsync (const QQmlDataBlob::Ptr &b, const QQmlPrivate::CachedQmlUnit *unit)
 
void callCompleted (const QQmlDataBlob::Ptr &b)
 
void callDownloadProgressChanged (const QQmlDataBlob::Ptr &b, qreal p)
 
void initializeEngine (QQmlExtensionInterface *, const char *)
 
void initializeEngine (QQmlEngineExtensionInterface *, const char *)
 
- Public Member Functions inherited from QQmlThread
 QQmlThread ()
 
virtual ~QQmlThread ()
 
void startup ()
 
void shutdown ()
 
bool isShutdown () const
 
QMutexmutex ()
 
void lock ()
 
void unlock ()
 
void wakeOne ()
 
void wait ()
 
QThreadthread () const
 
bool isThisThread () const
 
template<typename Method , typename ... Args>
void callMethodInThread (Method &&method, Args &&...args)
 
template<typename Method , typename ... Args>
void callMethodInMain (Method &&method, Args &&...args)
 
template<typename Method , typename ... Args>
void postMethodToThread (Method &&method, Args &&...args)
 
template<typename Method , typename ... Args>
void postMethodToMain (Method &&method, Args &&...args)
 
void waitForNextMessage ()
 
void discardMessages ()
 

Detailed Description

Definition at line 39 of file qqmltypeloaderthread_p.h.

Constructor & Destructor Documentation

◆ QQmlTypeLoaderThread()

QT_BEGIN_NAMESPACE QQmlTypeLoaderThread::QQmlTypeLoaderThread ( QQmlTypeLoader * loader)

Definition at line 14 of file qqmltypeloaderthread.cpp.

References QQmlThread::startup().

+ Here is the call graph for this function:

Member Function Documentation

◆ callCompleted()

void QQmlTypeLoaderThread::callCompleted ( const QQmlDataBlob::Ptr & b)

Definition at line 73 of file qqmltypeloaderthread.cpp.

References QQmlThread::postMethodToMain().

+ Here is the call graph for this function:

◆ callDownloadProgressChanged()

void QQmlTypeLoaderThread::callDownloadProgressChanged ( const QQmlDataBlob::Ptr & b,
qreal p )

Definition at line 78 of file qqmltypeloaderthread.cpp.

References QQmlThread::postMethodToMain().

+ Here is the call graph for this function:

◆ initializeEngine() [1/2]

void QQmlTypeLoaderThread::initializeEngine ( QQmlEngineExtensionInterface * iface,
const char * uri )

Definition at line 89 of file qqmltypeloaderthread.cpp.

References QQmlThread::callMethodInMain().

+ Here is the call graph for this function:

◆ initializeEngine() [2/2]

void QQmlTypeLoaderThread::initializeEngine ( QQmlExtensionInterface * iface,
const char * uri )

Definition at line 83 of file qqmltypeloaderthread.cpp.

References QQmlThread::callMethodInMain().

Referenced by doInitializeEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ load()

void QQmlTypeLoaderThread::load ( const QQmlDataBlob::Ptr & b)

Definition at line 43 of file qqmltypeloaderthread.cpp.

References QQmlThread::callMethodInThread().

Referenced by PlainLoader::load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadAsync()

void QQmlTypeLoaderThread::loadAsync ( const QQmlDataBlob::Ptr & b)

Definition at line 48 of file qqmltypeloaderthread.cpp.

References QQmlThread::postMethodToThread().

Referenced by PlainLoader::loadAsync().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadWithCachedUnit()

void QQmlTypeLoaderThread::loadWithCachedUnit ( const QQmlDataBlob::Ptr & b,
const QQmlPrivate::CachedQmlUnit * unit )

Definition at line 63 of file qqmltypeloaderthread.cpp.

References QQmlThread::callMethodInThread().

Referenced by CachedLoader::load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadWithCachedUnitAsync()

void QQmlTypeLoaderThread::loadWithCachedUnitAsync ( const QQmlDataBlob::Ptr & b,
const QQmlPrivate::CachedQmlUnit * unit )

Definition at line 68 of file qqmltypeloaderthread.cpp.

References QQmlThread::postMethodToThread().

Referenced by CachedLoader::loadAsync().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadWithStaticData()

void QQmlTypeLoaderThread::loadWithStaticData ( const QQmlDataBlob::Ptr & b,
const QByteArray & d )

Definition at line 53 of file qqmltypeloaderthread.cpp.

References QQmlThread::callMethodInThread(), and d.

Referenced by StaticLoader::load().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadWithStaticDataAsync()

void QQmlTypeLoaderThread::loadWithStaticDataAsync ( const QQmlDataBlob::Ptr & b,
const QByteArray & d )

Definition at line 58 of file qqmltypeloaderthread.cpp.

References d, and QQmlThread::postMethodToThread().

Referenced by StaticLoader::loadAsync().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: