|
Fcitx
|
Manage registered TempMode objects for an Instance. More...
#include <fcitx/tempmodemanager.h>
Public Member Functions | |
| TempModeManager (Instance *instance) | |
| Create a temp mode manager for an instance. More... | |
| void | registerTempMode (TempMode &tempMode) |
| Register a temp mode with this manager. More... | |
Manage registered TempMode objects for an Instance.
The manager watches key events, activates temp modes on their trigger keys, and routes subsequent key events to the active mode before normal input method handling.
Definition at line 34 of file tempmodemanager.h.
| fcitx::TempModeManager::TempModeManager | ( | Instance * | instance | ) |
Create a temp mode manager for an instance.
| instance | instance that owns the event pipeline |
Definition at line 97 of file tempmodemanager.cpp.
| void fcitx::TempModeManager::registerTempMode | ( | TempMode & | tempMode | ) |
Register a temp mode with this manager.
Registering the same temp mode multiple times has no effect.
| tempMode | temp mode to register |
Definition at line 107 of file tempmodemanager.cpp.
1.8.13