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
qohosinputmethodproxy.cpp File Reference

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include "qohosinputmethodproxy.h"
#include <QtCore/private/qohoslogger_p.h>
#include <QtCore/private/qstringconverter_p.h>
#include <codecvt>
#include <locale>
#include <qarkui/qarkuiutils.h>
#include <qohosplugincore.h>
#include <qohosutils.h>
Include dependency graph for qohosinputmethodproxy.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Typedefs

template<typename CallbackResult, typename... CallbackArgs>
using QT_BEGIN_NAMESPACE::TextEditorProxyCallbackFunc = CallbackResult(::InputMethod_TextEditorProxy *, CallbackArgs...)

Functions

std::string QT_BEGIN_NAMESPACE::convertUtf16ToUtf8 (const std::u16string &utf16String)
std::shared_ptr<::InputMethod_TextEditorProxy > QT_BEGIN_NAMESPACE::makeTextEditorProxy ()
std::shared_ptr<::InputMethod_AttachOptions > QT_BEGIN_NAMESPACE::makeAttachOptions (bool showKeyboard, ::InputMethod_RequestKeyboardReason requestKeyboardReason)
std::shared_ptr<::InputMethod_InputMethodProxy > QT_BEGIN_NAMESPACE::tryMakeInputMethodProxy (std::shared_ptr<::InputMethod_TextEditorProxy > textEditorProxy, std::shared_ptr<::InputMethod_AttachOptions > attachOptions)
std::shared_ptr<::InputMethod_CursorInfo > QT_BEGIN_NAMESPACE::makeCursorInfo (double x, double y, double width, double height)
template<typename CallbackResult, typename... CallbackArgs, ::InputMethod_ErrorCode rawSetCallbackFunc>
std::shared_ptr< voidQT_BEGIN_NAMESPACE::registerTextEditorProxyCallbackImpl (::InputMethod_TextEditorProxy *textEditorProxy, QOhosNamedFunc<::InputMethod_ErrorCode(*)(::InputMethod_TextEditorProxy *, TextEditorProxyCallbackFunc< CallbackResult, CallbackArgs... >), rawSetCallbackFunc > setCallbackFunc, std::function< CallbackResult(CallbackArgs...)> callback)
template<typename CallbackResult, typename... CallbackArgs, ::InputMethod_ErrorCode rawSetCallbackFunc, typename Callback>
std::shared_ptr< voidQT_BEGIN_NAMESPACE::registerTextEditorProxyCallback (::InputMethod_TextEditorProxy *textEditorProxy, QOhosNamedFunc<::InputMethod_ErrorCode(*)(::InputMethod_TextEditorProxy *, TextEditorProxyCallbackFunc< CallbackResult, CallbackArgs... >), rawSetCallbackFunc > setCallbackFunc, Callback callback)
template<typename... CallbackArgs>
void QT_BEGIN_NAMESPACE::callInQtThread (std::weak_ptr< QOhosInputMethodProxy::ClientCallbacks > weakClientCallbacks, void(QOhosInputMethodProxy::ClientCallbacks::*callbackMemPtr)(CallbackArgs...), CallbackArgs ...args)