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
QtOhosAppKit::Private::QOhosJsEnv Struct Reference

#include <qohosjsenv_p.h>

Collaboration diagram for QtOhosAppKit::Private::QOhosJsEnv:

Classes

struct  QNapiValue
struct  QNapiValue< QList< QJsonValue > >
struct  QNapiValue< QJsonValue >
struct  QNapiValue< QJsonArray >
struct  QNapiValue< QJsonObject >

Static Public Member Functions

template<typename T>
static QNapi::Value toNapiValue (napi_env env, T &&value)
template<typename ReturnType>
static ReturnType fromNapiValue (const QNapi::Value &value)

Detailed Description

Definition at line 40 of file qohosjsenv_p.h.

Member Function Documentation

◆ fromNapiValue()

template<typename ReturnType>
ReturnType QtOhosAppKit::Private::QOhosJsEnv::fromNapiValue ( const QNapi::Value & value)
inlinestatic

Definition at line 60 of file qohosjsenv_p.h.

◆ toNapiValue()

template<typename T>
QNapi::Value QtOhosAppKit::Private::QOhosJsEnv::toNapiValue ( napi_env env,
T && value )
inlinestatic

Definition at line 55 of file qohosjsenv_p.h.


The documentation for this struct was generated from the following file: