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
QArkUi::JsWindowRef Class Reference

#include <window.h>

Collaboration diagram for QArkUi::JsWindowRef:

Public Member Functions

 JsWindowRef (std::string owningQAbilityInstanceId, JsWindowId windowId, QNapi::Object jsWindow, QtOhos::QObjectThreadSafeRef owningQWindowRef)
 JsWindowRef (const JsWindowRef &)=delete
JsWindowRefoperator= (const JsWindowRef &)=delete
 JsWindowRef (JsWindowRef &&)=delete
JsWindowRefoperator= (JsWindowRef &&)=delete
bool isFocused () const
bool isWindowShown () const
const std::string & owningQAbilityInstanceId () const
JsWindowId id () const
QtOhos::QObjectThreadSafeRef owningQWindowRef () const
template<typename Result = QNapi::Value>
Result eval (const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
QNapi::Promise evalToPromiseOrRejectOnThrow (const std::string &expr, const std::vector< QNapi::ValueWrapper > &exprArgs={}) const
QNapi::Object jsObject ()

Detailed Description

Definition at line 34 of file window.h.

Constructor & Destructor Documentation

◆ JsWindowRef() [1/3]

QArkUi::JsWindowRef::JsWindowRef ( std::string owningQAbilityInstanceId,
JsWindowId windowId,
QNapi::Object jsWindow,
QtOhos::QObjectThreadSafeRef owningQWindowRef )
explicit

Definition at line 45 of file window.cpp.

References JsWindowRef().

Referenced by JsWindowRef().

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

◆ JsWindowRef() [2/3]

QArkUi::JsWindowRef::JsWindowRef ( const JsWindowRef & )
delete

◆ JsWindowRef() [3/3]

QArkUi::JsWindowRef::JsWindowRef ( JsWindowRef && )
delete

Member Function Documentation

◆ eval()

template<typename Result>
Result QArkUi::JsWindowRef::eval ( const std::string & expr,
const std::vector< QNapi::ValueWrapper > & exprArgs = {} ) const

Definition at line 69 of file window.h.

◆ evalToPromiseOrRejectOnThrow()

QNapi::Promise QArkUi::JsWindowRef::evalToPromiseOrRejectOnThrow ( const std::string & expr,
const std::vector< QNapi::ValueWrapper > & exprArgs = {} ) const
inline

Definition at line 74 of file window.h.

◆ id()

JsWindowId QArkUi::JsWindowRef::id ( ) const

Definition at line 80 of file window.cpp.

◆ isFocused()

bool QArkUi::JsWindowRef::isFocused ( ) const

Definition at line 68 of file window.cpp.

◆ isWindowShown()

bool QArkUi::JsWindowRef::isWindowShown ( ) const

Definition at line 55 of file window.cpp.

◆ jsObject()

QNapi::Object QArkUi::JsWindowRef::jsObject ( )

Definition at line 90 of file window.cpp.

◆ operator=() [1/2]

JsWindowRef & QArkUi::JsWindowRef::operator= ( const JsWindowRef & )
delete

◆ operator=() [2/2]

JsWindowRef & QArkUi::JsWindowRef::operator= ( JsWindowRef && )
delete

◆ owningQAbilityInstanceId()

const std::string & QArkUi::JsWindowRef::owningQAbilityInstanceId ( ) const

Definition at line 75 of file window.cpp.

◆ owningQWindowRef()

QtOhos::QObjectThreadSafeRef QArkUi::JsWindowRef::owningQWindowRef ( ) const

Definition at line 85 of file window.cpp.


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