KWin
|
#include <inputmethod.h>
Public Types | |
enum | ForwardModifiersForce { NoForce = 0 , Force = 1 } |
Signals | |
void | panelChanged () |
void | activeChanged (bool active) |
void | enabledChanged (bool enabled) |
void | visibleChanged () |
void | availableChanged () |
void | activeClientSupportsTextInputChanged () |
Public Member Functions | |
InputMethod () | |
~InputMethod () override | |
void | init () |
void | setEnabled (bool enable) |
bool | isEnabled () const |
bool | isActive () const |
void | setActive (bool active) |
void | hide () |
void | show () |
bool | isVisible () const |
bool | isAvailable () const |
InputPanelV1Window * | panel () const |
void | setPanel (InputPanelV1Window *panel) |
void | setInputMethodCommand (const QString &path) |
InputMethodGrabV1 * | keyboardGrab () |
bool | shouldShowOnActive () const |
void | forwardModifiers (ForwardModifiersForce force) |
bool | activeClientSupportsTextInput () const |
void | forceActivate () |
This class implements the zwp_input_method_unstable_v1, which is currently used to provide the Virtual Keyboard using supported input method client (maliit-keyboard e.g.)
Definition at line 37 of file inputmethod.h.
Enumerator | |
---|---|
NoForce | |
Force |
Definition at line 41 of file inputmethod.h.
KWin::InputMethod::InputMethod | ( | ) |
Definition at line 87 of file inputmethod.cpp.
|
override |
Definition at line 100 of file inputmethod.cpp.
|
signal |
bool KWin::InputMethod::activeClientSupportsTextInput | ( | ) | const |
Definition at line 975 of file inputmethod.cpp.
|
signal |
|
signal |
|
signal |
void KWin::InputMethod::forceActivate | ( | ) |
Definition at line 980 of file inputmethod.cpp.
void KWin::InputMethod::forwardModifiers | ( | ForwardModifiersForce | force | ) |
Definition at line 758 of file inputmethod.cpp.
void KWin::InputMethod::hide | ( | ) |
Definition at line 176 of file inputmethod.cpp.
void KWin::InputMethod::init | ( | ) |
Definition at line 105 of file inputmethod.cpp.
bool KWin::InputMethod::isActive | ( | ) | const |
Definition at line 931 of file inputmethod.cpp.
bool KWin::InputMethod::isAvailable | ( | ) | const |
Definition at line 963 of file inputmethod.cpp.
|
inline |
Definition at line 51 of file inputmethod.h.
bool KWin::InputMethod::isVisible | ( | ) | const |
Definition at line 958 of file inputmethod.cpp.
InputMethodGrabV1 * KWin::InputMethod::keyboardGrab | ( | ) |
Definition at line 936 of file inputmethod.cpp.
InputPanelV1Window * KWin::InputMethod::panel | ( | ) | const |
Definition at line 235 of file inputmethod.cpp.
|
signal |
void KWin::InputMethod::setActive | ( | bool | active | ) |
Definition at line 210 of file inputmethod.cpp.
void KWin::InputMethod::setEnabled | ( | bool | enable | ) |
Definition at line 474 of file inputmethod.cpp.
void KWin::InputMethod::setInputMethodCommand | ( | const QString & | path | ) |
Definition at line 849 of file inputmethod.cpp.
void KWin::InputMethod::setPanel | ( | InputPanelV1Window * | panel | ) |
Definition at line 240 of file inputmethod.cpp.
bool KWin::InputMethod::shouldShowOnActive | ( | ) | const |
Definition at line 185 of file inputmethod.cpp.
void KWin::InputMethod::show | ( | ) |
Definition at line 158 of file inputmethod.cpp.
|
signal |
qint32 KWin::InputMethod::cursor = 0 |
Definition at line 125 of file inputmethod.h.
std::vector<std::pair<quint32, quint32> > KWin::InputMethod::highlightRanges |
Definition at line 126 of file inputmethod.h.
QString KWin::InputMethod::text = QString() |
Definition at line 124 of file inputmethod.h.