![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/private/qcore_ohos_p.h>#include <QtCore/private/qnapi_p.h>#include <QtCore/private/qohoscommon_p.h>#include <QtCore/qobject.h>#include <array>#include <atomic>#include <chrono>#include <cstdlib>#include <functional>#include <map>#include <memory>#include <optional>#include <stdexcept>#include <string>#include <type_traits>#include <typeinfo>#include <utility>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | qohosplugincore_h_detail |
| namespace | QtOhos |
Enumerations | |
| enum class | QtOhos::QtRunMode { QtOhos::Normal , QtOhos::NoUiChildProcess } |
| enum class | QtOhos::QOhosAbilityOnContinueResult { QtOhos::AGREE , QtOhos::REJECT , QtOhos::MISMATCH } |
Functions | |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator== (const QOhosOptional< T > &lhs, const QOhosOptional< U > &rhs) |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator!= (const QOhosOptional< T > &lhs, const QOhosOptional< U > &rhs) |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator== (const QOhosOptional< T > &lhs, const U &rhs) |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator!= (const QOhosOptional< T > &lhs, const U &rhs) |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator== (const T &lhs, const QOhosOptional< U > &rhs) |
| template<typename T, typename U> | |
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > | operator!= (const T &lhs, const QOhosOptional< U > &rhs) |
| template<typename T> | |
| QOhosOptional< T > | makeQOhosOptional (const T &value) |
| QOhosOptional< void > | makeEmptyQOhosOptional () |
| void | QtOhos::initJsThreadState (napi_env env, std::map< std::string, QNapi::Reference< QNapi::Function > > &&jsModulesFactories, std::shared_ptr< AppFunctions > appFunctions, QtRunMode qtRunMode) |
| void | QtOhos::addJsQAbilityPeer (std::shared_ptr< QAbilityPeer > qAbilityPeer) |
| void | QtOhos::removeMatchingJsQAbilityPeer (QNapi::Object qAbility) |
| void | QtOhos::dispatchNewWant (QNapi::Object want, QNapi::Object launchParam) |
| void | QtOhos::invokeInJsThread (std::function< void(JsState &)> task) |
| void | QtOhos::invokeInJsThreadAndWaitForContinue (std::function< void(JsState &, std::function< void()>)> &&task) |
| void | QtOhos::runInJsThreadAndWait (const std::function< void(JsState &)> &task) |
| template<typename Func> | |
| auto | QtOhos::evalInJsThread (Func &&func) -> decltype(func(std::declval< JsState & >())) |
| template<typename T> | |
| T | QtOhos::evalInJsThreadWithConsumer (std::function< void(QtOhos::JsState &, std::function< void(T)>)> evalFunc) |
| Q_REQUIRED_RESULT bool | QtOhos::tryInvokeInQtThreadAndTryWaitForContinue (std::function< void(std::function< void()>)> &&task, std::chrono::nanoseconds timeout) |
Variables | |
| template<typename A, typename B> | |
| constexpr bool | qohosplugincore_h_detail::hasEqualityComparator = HasEqualityComparatorT<A, B>::value |
| template<typename T> | |
| constexpr bool | qohosplugincore_h_detail::isQOhosOptional = IsQOhosOptional<T>::value |
|
inline |
Definition at line 651 of file qohosplugincore.h.
Referenced by QOhosClipboardObject::QOhosClipboardObject(), QOhosView::createForWindow(), QArkUi::KeyEvent::createFromNativeEvent(), QArkUi::MouseEvent::createFromNativeEvent(), QArkUi::TouchEvent::createFromNativeEvent(), QT_BEGIN_NAMESPACE::getOptionalNumberPropAsOptionalDouble(), QtOhos::getOptionalProperty(), QT_BEGIN_NAMESPACE::getQtGestureType(), QOhosDisplayInfo::makeFromOhosDisplayObject(), QT_BEGIN_NAMESPACE::mapOhosThemeFromColorScheme(), QT_BEGIN_NAMESPACE::mapQtWindowModalityToOhosOrDefault(), QOhosView::restoreMainWindow(), QOhosShareKit::shareData(), QOhosView::surfaceResolution(), QT_BEGIN_NAMESPACE::tryCorrectFrameGeometry(), QT_BEGIN_NAMESPACE::RenderContextData::tryCreateForQWindow(), QT_BEGIN_NAMESPACE::tryEvalInQtThreadWithConsumer(), QArkUi::Node::tryfindChild(), QT_BEGIN_NAMESPACE::tryGetBackgroundColorFromWindow(), QtOhos::tryGetCodeFromJsBusinessError(), QT_BEGIN_NAMESPACE::tryGetDataItemTypedValue(), QT_BEGIN_NAMESPACE::tryGetDataItemValue(), QOhosUdmfRecord::tryGetGeneralEntry(), QT_BEGIN_NAMESPACE::tryGetIntPropertyFromQuery(), tryGetQOhosPropertyFromQObject(), QOhosDeviceInfo::tryGetRecognizedDeviceType(), QArkUi::tryGetWindowProperties(), qohoswindowproperty_h_detail::tryMapFromQVariant(), QT_BEGIN_NAMESPACE::tryMapInputMethodDirectionToQt(), QArkUi::tryMapKeyEventAction(), tryMapMimeTypeToUtdTypeId(), QArkUi::tryMapMouseEventAction(), QT_BEGIN_NAMESPACE::tryMapMouseEventActionToNonClientAreaEventType(), QArkUi::tryMapMouseEventButton(), QT_BEGIN_NAMESPACE::tryMapMouseEventButtonToQt(), QT_BEGIN_NAMESPACE::tryMapNativeNodeMouseActionToQt(), QT_BEGIN_NAMESPACE::tryMapNativeNodeMouseButtonToQt(), QT_BEGIN_NAMESPACE::tryMapRenderFitPolicyToArkUi(), QArkUi::tryMapTouchEventAction(), QT_BEGIN_NAMESPACE::tryMapTouchEventActionToNonClientAreaEventState(), tryMapUtdTypeIdToMimeType(), QT_BEGIN_NAMESPACE::tryMapXComponentMouseButtonToQt(), QT_BEGIN_NAMESPACE::tryMapXComponentMouseEventActionToQEventType(), QT_BEGIN_NAMESPACE::tryMapXComponentTouchEventTypeToQt(), QtOhos::qohosutils_details::tryParseStringAsUIntMax(), QtOhos::tryParseStringAsUnsignedInteger(), QOhosPlatformWindow::tryTakeLastRequestedDisplayId(), and QOhosView::viewGeometry().
| QOhosOptional< T > makeQOhosOptional | ( | const T & | value | ) |
Definition at line 646 of file qohosplugincore.h.
References QOhosOptional< T >::andThen().
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator!= | ( | const QOhosOptional< T > & | lhs, |
| const QOhosOptional< U > & | rhs ) |
Definition at line 592 of file qohosplugincore.h.
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator!= | ( | const QOhosOptional< T > & | lhs, |
| const U & | rhs ) |
Definition at line 606 of file qohosplugincore.h.
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator!= | ( | const T & | lhs, |
| const QOhosOptional< U > & | rhs ) |
Definition at line 620 of file qohosplugincore.h.
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator== | ( | const QOhosOptional< T > & | lhs, |
| const QOhosOptional< U > & | rhs ) |
Definition at line 583 of file qohosplugincore.h.
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator== | ( | const QOhosOptional< T > & | lhs, |
| const U & | rhs ) |
Definition at line 599 of file qohosplugincore.h.
| std::enable_if_t< qohosplugincore_h_detail::hasEqualityComparator< T, U >, bool > operator== | ( | const T & | lhs, |
| const QOhosOptional< U > & | rhs ) |
Definition at line 613 of file qohosplugincore.h.