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 ()
int sendPendingEvents ()

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 155 of file qwasmsuspendresumecontrol.cpp.

◆ QWasmSuspendResumeControl() [2/2]

QWasmSuspendResumeControl::QWasmSuspendResumeControl ( const QWasmSuspendResumeControl & )
delete

Member Function Documentation

◆ get()

QWasmSuspendResumeControl * QWasmSuspendResumeControl::get ( )
static

Definition at line 162 of file qwasmsuspendresumecontrol.cpp.

◆ jsEventHandlerAt()

val QWasmSuspendResumeControl::jsEventHandlerAt ( uint32_t index)

Definition at line 186 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 169 of file qwasmsuspendresumecontrol.cpp.

◆ removeEventHandler()

void QWasmSuspendResumeControl::removeEventHandler ( uint32_t index)

Definition at line 179 of file qwasmsuspendresumecontrol.cpp.

◆ sendPendingEvents()

int QWasmSuspendResumeControl::sendPendingEvents ( )

Definition at line 203 of file qwasmsuspendresumecontrol.cpp.

◆ suspend()

void QWasmSuspendResumeControl::suspend ( )

Definition at line 197 of file qwasmsuspendresumecontrol.cpp.

◆ suspendResumeControlJs()

emscripten::val QWasmSuspendResumeControl::suspendResumeControlJs ( )
static

Definition at line 191 of file qwasmsuspendresumecontrol.cpp.

◆ qtSendPendingEvents

void qtSendPendingEvents ( )
friend

Definition at line 224 of file qwasmsuspendresumecontrol.cpp.


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