Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWasmSuspendResumeControl Class Reference

#include <qwasmsuspendresumecontrol_p.h>

Collaboration diagram for QWasmSuspendResumeControl:

Public Member Functions

 QWasmSuspendResumeControl ()
 ~QWasmSuspendResumeControl ()
 QWasmSuspendResumeControl (const QWasmSuspendResumeControl &)=delete
QWasmSuspendResumeControloperator= (const QWasmSuspendResumeControl &)=delete
uint32_t registerEventHandler (std::function< void(emscripten::val)> handler)
void removeEventHandler (uint32_t index)
emscripten::val jsEventHandlerAt (uint32_t index)
void suspend ()
void suspendExclusive (QList< uint32_t > eventHandlerIndices)
int sendPendingEvents ()
emscripten::val currentEvent () const
void setCurrentEvent (emscripten::val currentEvent)

Static Public Member Functions

static QWasmSuspendResumeControlget ()
static emscripten::val suspendResumeControlJs ()

Friends

void qtSendPendingEvents ()

Detailed Description

Definition at line 24 of file qwasmsuspendresumecontrol_p.h.

Constructor & Destructor Documentation

◆ QWasmSuspendResumeControl() [1/2]

QWasmSuspendResumeControl::QWasmSuspendResumeControl ( )

Definition at line 144 of file qwasmsuspendresumecontrol.cpp.

◆ ~QWasmSuspendResumeControl()

QWasmSuspendResumeControl::~QWasmSuspendResumeControl ( )

Definition at line 154 of file qwasmsuspendresumecontrol.cpp.

◆ QWasmSuspendResumeControl() [2/2]

QWasmSuspendResumeControl::QWasmSuspendResumeControl ( const QWasmSuspendResumeControl & )
delete

Member Function Documentation

◆ currentEvent()

emscripten::val QWasmSuspendResumeControl::currentEvent ( ) const
inline

Definition at line 45 of file qwasmsuspendresumecontrol_p.h.

◆ get()

QWasmSuspendResumeControl * QWasmSuspendResumeControl::get ( )
static

Definition at line 160 of file qwasmsuspendresumecontrol.cpp.

◆ jsEventHandlerAt()

val QWasmSuspendResumeControl::jsEventHandlerAt ( uint32_t index)

Definition at line 184 of file qwasmsuspendresumecontrol.cpp.

◆ operator=()

QWasmSuspendResumeControl & QWasmSuspendResumeControl::operator= ( const QWasmSuspendResumeControl & )
delete

◆ registerEventHandler()

uint32_t QWasmSuspendResumeControl::registerEventHandler ( std::function< void(emscripten::val)> handler)

Definition at line 167 of file qwasmsuspendresumecontrol.cpp.

◆ removeEventHandler()

void QWasmSuspendResumeControl::removeEventHandler ( uint32_t index)

Definition at line 177 of file qwasmsuspendresumecontrol.cpp.

◆ sendPendingEvents()

int QWasmSuspendResumeControl::sendPendingEvents ( )

Definition at line 211 of file qwasmsuspendresumecontrol.cpp.

◆ setCurrentEvent()

void QWasmSuspendResumeControl::setCurrentEvent ( emscripten::val currentEvent)
inline

Definition at line 49 of file qwasmsuspendresumecontrol_p.h.

◆ suspend()

void QWasmSuspendResumeControl::suspend ( )

Definition at line 195 of file qwasmsuspendresumecontrol.cpp.

◆ suspendExclusive()

void QWasmSuspendResumeControl::suspendExclusive ( QList< uint32_t > eventHandlerIndices)

Definition at line 200 of file qwasmsuspendresumecontrol.cpp.

◆ suspendResumeControlJs()

emscripten::val QWasmSuspendResumeControl::suspendResumeControlJs ( )
static

Definition at line 189 of file qwasmsuspendresumecontrol.cpp.

◆ qtSendPendingEvents

void qtSendPendingEvents ( )
friend

Definition at line 245 of file qwasmsuspendresumecontrol.cpp.


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