ibus-qt 1.3.4
|
Signals | |
void | CommitText (const QDBusVariant &text) |
void | CursorDownLookupTable () |
void | CursorUpLookupTable () |
void | ForwardKeyEvent (uint keyval, uint keycode, uint state) |
void | HideAuxiliaryText () |
void | HideLookupTable () |
void | HidePreeditText () |
void | PageDownLookupTable () |
void | PageUpLookupTable () |
void | RegisterProperties (const QDBusVariant &props) |
void | ShowAuxiliaryText () |
void | ShowLookupTable () |
void | ShowPreeditText () |
void | UpdateAuxiliaryText (const QDBusVariant &text, bool visible) |
void | UpdateLookupTable (const QDBusVariant &lookup_table, bool visible) |
void | UpdatePreeditText (const QDBusVariant &text, uint cursor_pos, bool visible, uint mode) |
void | UpdateProperty (const QDBusVariant &prop) |
Public Member Functions | |
Engine (const QString &engineName) | |
Constructor of Engine object. | |
virtual | ~Engine () |
Destructor of Engine object. | |
const QString & | engineName () const |
Gets name of the engine object. | |
void | updateLookupTableFast (const LookupTablePointer &lookupTable, bool visible) |
Updates the lookup table in fast mode, it only sends candidates in current page. | |
void | commitText (const TextPointer &text) |
Commits text to client application. | |
void | cursorDownLookupTable () |
Moves down the cursor of lookup table. | |
void | cursorUpLookupTable () |
Moves up the cursor of lookup table. | |
void | forwardKeyEvent (uint keyval, uint keycode, uint state) |
Forwards keyevents to client application. | |
void | hideAuxiliaryText () |
Hides the auxiliary text in UI. | |
void | hideLookupTable () |
Hides the lookup table in UI. | |
void | hidePreeditText () |
Hides the preedit text in UI. | |
void | pageDownLookupTable () |
Page down the lookup table. | |
void | pageUpLookupTable () |
Page up the lookup table. | |
void | registerProperties (const PropListPointer &props) |
Registers properties. | |
void | showAuxiliaryText () |
Shows the auxiliary text in UI. | |
void | showLookupTable () |
Shows the lookup table in UI. | |
void | showPreeditText () |
Shows the preedit text in UI. | |
void | updateAuxiliaryText (const TextPointer &text, bool visible) |
Updates the auxiliary text. | |
void | updateLookupTable (const LookupTablePointer &lookupTable, bool visible) |
Updates the lookup table. | |
void | updatePreeditText (const TextPointer &text, uint cursorPos, bool visible, uint mode=EnginePreeditClear) |
Updates the preedit text. | |
void | updateProperty (const PropertyPointer &prop) |
Updates the property. | |
virtual void | candidateClicked (uint index, uint button, uint state) |
Candidate is clicked. | |
virtual void | cursorDown () |
Cursor is moved down. | |
virtual void | cursorUp () |
Cursor is moved up. | |
virtual void | destroy () |
Destroy the object. | |
virtual void | disable () |
Disables the engine. | |
virtual void | enable () |
Enables the engine. | |
virtual void | focusIn () |
Sets the focus of the engine. | |
virtual void | focusOut () |
Unsets the focus of the engine. | |
virtual void | pageDown () |
Moves cursor of lookup table to next page. | |
virtual void | pageUp () |
Moves cursor of lookup tabele to previous page. | |
virtual bool | processKeyEvent (uint keyval, uint keycode, uint state) |
Moves cursor of lookup tabele to previous page. | |
virtual void | propertyActivate (const QString &prop_name, int prop_state) |
The property with given name is clicked. | |
virtual void | propertyHide (const QString &prop_name) |
Hides the property with given name. | |
virtual void | propertyShow (const QString &prop_name) |
Shows the property with given name. | |
virtual void | reset () |
Resets the engine. | |
virtual void | setCapabilities (uint cap) |
Sets the capabilities from client application. | |
virtual void | setCursorLocation (int x, int y, int w, int h) |
Sets the cursor location from client applicaion. | |
![]() | |
virtual | ~Object () |
Destructor of Object. | |
|
virtual |
Destructor of Engine object.
Candidate is clicked.
Implement this virtual function to handle candidate clicked event.
[in] | index | The index of candidate clicked |
[in] | button | The button of the clicked event. |
[in] | state | The current state of keyboard. |
|
signal |
FIXME need hide signals in doxygen
|
inline |
Commits text to client application.
[in] | text | A text object. |
|
virtual |
Cursor is moved down.
|
inline |
Moves down the cursor of lookup table.
|
virtual |
Cursor is moved up.
|
inline |
Moves up the cursor of lookup table.
|
virtual |
Disables the engine.
|
virtual |
Enables the engine.
Gets name of the engine object.
|
virtual |
Sets the focus of the engine.
|
virtual |
Unsets the focus of the engine.
Forwards keyevents to client application.
[in] | keyval | |
[in] | keycode | |
[in] | state |
|
inline |
Hides the auxiliary text in UI.
|
inline |
Hides the lookup table in UI.
|
inline |
Hides the preedit text in UI.
|
virtual |
Moves cursor of lookup table to next page.
|
inline |
Page down the lookup table.
|
virtual |
Moves cursor of lookup tabele to previous page.
|
inline |
Page up the lookup table.
Moves cursor of lookup tabele to previous page.
[in] | keyval | The keyval of the key event. |
[in] | keycode | The keycode of the key event. |
[in] | state | The modifiers of the key event. |
The property with given name is clicked.
[in] | prop_name | The name of the property. |
[in] | prop_state | The state of the property. |
Hides the property with given name.
[in] | prop_name | The name of the property. |
Shows the property with given name.
[in] | prop_name | The name of the property. |
|
inline |
|
virtual |
Resets the engine.
Sets the capabilities from client application.
[in] | cap | The capabilities of client application. |
Sets the cursor location from client applicaion.
[in] | x | |
[in] | y | |
[in] | w | |
[in] | h |
|
inline |
Shows the auxiliary text in UI.
|
inline |
Shows the lookup table in UI.
|
inline |
Shows the preedit text in UI.
|
inline |
Updates the auxiliary text.
[in] | text | A text object. |
[in] | visible | Whether the auxiliary text is visible. |
|
inline |
Updates the lookup table.
[in] | lookupTable | A lookup table object. |
[in] | visible | Whether the lookup table is visible. |
void IBus::Engine::updateLookupTableFast | ( | const LookupTablePointer & | lookupTable, |
bool | visible ) |
Updates the lookup table in fast mode, it only sends candidates in current page.
[in] | lookupTable | A lookup table object. |
[in] | visible | Whether the lookup table is visible. |
|
inline |
Updates the preedit text.
[in] | text | A text object. |
[in] | cursorPos | The cursor position in the given text. |
[in] | visible | Whether the preedit text is visible. |
[in] | mode | preedit focus mode. |
|
inline |
Updates the property.
[in] | prop | A propeerty object |