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
qstdweb Namespace Reference

Namespaces

namespace  Promise
 

Classes

class  ArrayBuffer
 
class  Blob
 
class  BlobIODevice
 
struct  CancellationFlag
 
class  EventCallback
 
class  EventListener
 
class  File
 
class  FileList
 
class  FileReader
 
class  FileUrlRegistration
 
struct  PromiseCallbacks
 
class  Uint8Array
 
class  Uint8ArrayIODevice
 

Typedefs

typedef double uint53_t
 
using FileUrlRegistrations = std::vector<std::unique_ptr<FileUrlRegistration>>
 

Functions

static void usePotentialyUnusedSymbols ()
 
 EMSCRIPTEN_BINDINGS (qtStdwebCalback)
 
bool haveJspi ()
 
bool haveAsyncify ()
 
bool canBlockCallingThread ()
 
template<class F >
decltype(auto) bindForever (F wrappedCallback)
 
emscripten::val window ()
 
template<class T >
runTaskOnMainThread (std::function< T()> task)
 

Variables

const char makeContextfulPromiseFunctionName []
 

Typedef Documentation

◆ FileUrlRegistrations

using qstdweb::FileUrlRegistrations = std::vector<std::unique_ptr<FileUrlRegistration>>

Definition at line 132 of file qstdweb_p.h.

◆ uint53_t

typedef double qstdweb::uint53_t

Definition at line 41 of file qstdweb.cpp.

Function Documentation

◆ bindForever()

template<class F >
decltype(auto) qstdweb::bindForever ( F wrappedCallback)

Definition at line 239 of file qstdweb_p.h.

◆ canBlockCallingThread()

bool qstdweb::canBlockCallingThread ( )

Definition at line 835 of file qstdweb.cpp.

References haveAsyncify().

+ Here is the call graph for this function:

◆ EMSCRIPTEN_BINDINGS()

qstdweb::EMSCRIPTEN_BINDINGS ( qtStdwebCalback )

Definition at line 753 of file qstdweb.cpp.

References function, and qstdweb::EventListener::handleEvent().

+ Here is the call graph for this function:

◆ haveAsyncify()

bool qstdweb::haveAsyncify ( )

Definition at line 829 of file qstdweb.cpp.

References haveJspi().

Referenced by canBlockCallingThread().

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

◆ haveJspi()

bool Q_CORE_EXPORT qstdweb::haveJspi ( )

Definition at line 823 of file qstdweb.cpp.

Referenced by QWasmIDBSettingsPrivate::QWasmIDBSettingsPrivate(), QWasmDrag::drag(), haveAsyncify(), and QEventDispatcherWasm::wakeUp().

+ Here is the caller graph for this function:

◆ runTaskOnMainThread()

template<class T >
T qstdweb::runTaskOnMainThread ( std::function< T()> task)

Definition at line 323 of file qstdweb_p.h.

References task.

◆ usePotentialyUnusedSymbols()

static void qstdweb::usePotentialyUnusedSymbols ( )
static

Definition at line 26 of file qstdweb.cpp.

◆ window()

emscripten::val qstdweb::window ( )
inline

Definition at line 278 of file qstdweb_p.h.

Referenced by QWasmLocalFileAccess::downloadDataAsFile(), QWasmAudioOutput::setSource(), and QWasmVideoOutput::setSource().

+ Here is the caller graph for this function:

Variable Documentation

◆ makeContextfulPromiseFunctionName

const char qstdweb::makeContextfulPromiseFunctionName[]
extern