Fcitx
Public Member Functions | List of all members
fcitx::TempModeManager Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TempModeManager()

fcitx::TempModeManager::TempModeManager ( Instance instance)

Create a temp mode manager for an instance.

Parameters
instanceinstance that owns the event pipeline

Definition at line 97 of file tempmodemanager.cpp.

Member Function Documentation

◆ registerTempMode()

void fcitx::TempModeManager::registerTempMode ( TempMode tempMode)

Register a temp mode with this manager.

Registering the same temp mode multiple times has no effect.

Parameters
tempModetemp mode to register

Definition at line 107 of file tempmodemanager.cpp.


The documentation for this class was generated from the following files: