![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qohosjsutils.h"#include <QtCore/private/qohoscommon_p.h>#include <qohosutils.h>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | QtOhos |
Functions | |
| std::shared_ptr< void > | QtOhos::registerOnOffMethodsBasedEventHandler (QNapi::Object eventSourceObject, const std::string &eventTypeName, QNapi::CallbackFuncWrapper handler, OnOffMethodsBasedEventHandlerOptions options={}) |
| Q_REQUIRED_RESULT std::shared_ptr< void > | QtOhos::startDelayedJsThreadTask (JsState &jsState, std::function< void(JsState &)> task, std::chrono::milliseconds delay) |
| int | QtOhos::setJsTimeout (JsState &jsState, std::function< void(const CallbackInfo &)> timeoutFunc, std::chrono::milliseconds delay) |
| void | QtOhos::clearJsTimeout (JsState &jsState, int timerId) |
| QNapi::Promise | QtOhos::makeResolvedPromise (QNapi::Value valueForResolve) |
| QOhosOptional< std::uint32_t > | QtOhos::tryGetCodeFromJsBusinessError (const Napi::Error &error) |