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 (JsWindowId windowId, QNapi::Object jsWindow)
 JsWindowRef (const JsWindowRef &)=delete
JsWindowRefoperator= (const JsWindowRef &)=delete
 JsWindowRef (JsWindowRef &&)=delete
JsWindowRefoperator= (JsWindowRef &&)=delete
bool isFocused () const
bool isWindowShown () const
JsWindowId id () const
template<typename Result = QNapi::Value>
Result call (const std::string &methodName, const std::vector< QNapi::ValueWrapper > &args={}) const
QNapi::Object jsObject ()

Detailed Description

Definition at line 33 of file window.h.

Constructor & Destructor Documentation

◆ JsWindowRef() [1/3]

QArkUi::JsWindowRef::JsWindowRef ( JsWindowId windowId,
QNapi::Object jsWindow )
explicit

Definition at line 46 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

◆ call()

template<typename Result>
Result QArkUi::JsWindowRef::call ( const std::string & methodName,
const std::vector< QNapi::ValueWrapper > & args = {} ) const

Definition at line 59 of file window.h.

Referenced by coverage_report.CoverageExecutor::build_binaries(), coverage_report.CoverageExecutor::generate_coverage(), coverage_report.CoverageExecutor::generate_html_report(), and coverage_report.CoverageExecutor::merge_raw_coverage_results().

Here is the caller graph for this function:

◆ id()

JsWindowId QArkUi::JsWindowRef::id ( ) const

Definition at line 72 of file window.cpp.

◆ isFocused()

bool QArkUi::JsWindowRef::isFocused ( ) const

Definition at line 65 of file window.cpp.

◆ isWindowShown()

bool QArkUi::JsWindowRef::isWindowShown ( ) const

Definition at line 52 of file window.cpp.

◆ jsObject()

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

Definition at line 77 of file window.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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