Qt 4.8
|
#include <qbbeventthread.h>
#include <qbbinputcontext.h>
#include <qbbabstractvirtualkeyboard.h>
#include <QAction>
#include <QCoreApplication>
#include <QDebug>
#include <QInputMethodEvent>
#include <QMutex>
#include <QTextCharFormat>
#include <QVariant>
#include <QVariantHash>
#include <QWaitCondition>
#include <dlfcn.h>
#include "imf/imf_client.h"
#include "imf/input_control.h"
#include <process.h>
#include <sys/keycodes.h>
Go to the source code of this file.
Macros | |
#define | getarg(type, name) type name = imfEvent->mArgs[qs(#name)].value<type>() |
#define | getparg(type, name) type name = (type)(imfEvent->mArgs[qs(#name)].value<void*>()) |
#define | iarg(name) event->mArgs[qs(#name)] = QVariant::fromValue(name) |
#define | parg(name) event->mArgs[qs(#name)] = QVariant::fromValue((void*)name) |
#define | qs(x) QString::fromLatin1(x) |
#define | STR(x) STRX(x) |
#define | STRX(x) #x |
#define | TAG __FILE__ "(" STR(__LINE__) ")" << __func__ << ":" |
Enumerations | |
enum | ImfEventType |
Functions | |
static bool | imfAvailable () |
Variables | |
static void(* | p_ictrl_close_session )(input_session_t *)=0 |
static int32_t(* | p_ictrl_dispatch_event )(event_t *)=0 |
static int32_t(* | p_ictrl_get_num_active_sessions )()=0 |
static const input_session_t *(* | p_ictrl_open_session )(connection_interface_t *)=0 |
static void(* | p_imf_client_disconnect )()=0 |
static int32_t(* | p_imf_client_init )()=0 |
static int32_t(* | p_vkb_init_selection_service )()=0 |
static bool | s_imfInitFailed = false |
Definition at line 719 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::eventFilter().
Definition at line 720 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::eventFilter().
Definition at line 76 of file qbbinputcontext_imf.cpp.
Definition at line 77 of file qbbinputcontext_imf.cpp.
#define qs | ( | x | ) | QString::fromLatin1(x) |
Definition at line 75 of file qbbinputcontext_imf.cpp.
#define STR | ( | x | ) | STRX(x) |
Definition at line 49 of file qbbinputcontext_imf.cpp.
#define STRX | ( | x | ) | #x |
Definition at line 48 of file qbbinputcontext_imf.cpp.
#define TAG __FILE__ "(" STR(__LINE__) ")" << __func__ << ":" |
Definition at line 50 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::actions(), QBBInputContext::closeSession(), QBBInputContext::dispatchFocusEvent(), QBBInputContext::filterEvent(), QBBInputContext::font(), QBBInputContext::handleKeyboardEvent(), QBBInputContext::isComposing(), QBBInputContext::mouseHandler(), QBBInputContext::onBeginBatchEdit(), QBBInputContext::onClearMetaKeyStates(), QBBInputContext::onCommitText(), QBBInputContext::onDeleteSurroundingText(), QBBInputContext::onEndBatchEdit(), QBBInputContext::onFinishComposingText(), QBBInputContext::onGetCursorCapsMode(), QBBInputContext::onGetCursorPosition(), QBBInputContext::onGetExtractedText(), QBBInputContext::onGetSelectedText(), QBBInputContext::onGetTextAfterCursor(), QBBInputContext::onGetTextBeforeCursor(), QBBInputContext::onPerformEditorAction(), QBBInputContext::onReportFullscreenMode(), QBBInputContext::onSendAsyncEvent(), QBBInputContext::onSendEvent(), QBBInputContext::onSetComposingRegion(), QBBInputContext::onSetComposingText(), QBBInputContext::onSetSelection(), QBBInputContext::openSession(), QBBInputContext::processEvent(), QBBInputContext::QBBInputContext(), QBBInputContext::reset(), QBBInputContext::setFocusWidget(), QBBInputContext::update(), QBBInputContext::widgetDestroyed(), and QBBInputContext::~QBBInputContext().
enum ImfEventType |
Definition at line 88 of file qbbinputcontext_imf.cpp.
|
static |
Definition at line 637 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::closeSession(), QBBInputContext::dispatchFocusEvent(), QBBInputContext::dispatchRequestSoftwareInputPanel(), QBBInputContext::endComposition(), QBBInputContext::handleKeyboardEvent(), QBBInputContext::openSession(), QBBInputContext::QBBInputContext(), and QBBInputContext::~QBBInputContext().
|
static |
Definition at line 629 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::closeSession().
|
static |
Definition at line 630 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::dispatchFocusEvent(), QBBInputContext::dispatchRequestSoftwareInputPanel(), QBBInputContext::endComposition(), and QBBInputContext::handleKeyboardEvent().
|
static |
Definition at line 634 of file qbbinputcontext_imf.cpp.
|
static |
Definition at line 628 of file qbbinputcontext_imf.cpp.
Referenced by QBBInputContext::openSession().
|
static |
Definition at line 632 of file qbbinputcontext_imf.cpp.
Referenced by imfAvailable(), and QBBInputContext::~QBBInputContext().
|
static |
Definition at line 631 of file qbbinputcontext_imf.cpp.
Referenced by imfAvailable(), and QBBInputContext::QBBInputContext().
|
static |
Definition at line 633 of file qbbinputcontext_imf.cpp.
|
static |
Definition at line 635 of file qbbinputcontext_imf.cpp.
Referenced by imfAvailable(), and QBBInputContext::QBBInputContext().