Fcitx
|
Public Member Functions | |
const KeyList & | triggerKeys () const |
bool | enumerateWithTriggerKeys () const |
const KeyList & | altTriggerKeys () const |
const KeyList & | activateKeys () const |
const KeyList & | deactivateKeys () const |
const KeyList & | enumerateForwardKeys () const |
const KeyList & | enumerateBackwardKeys () const |
bool | enumerateSkipFirst () const |
const KeyList & | enumerateGroupForwardKeys () const |
const KeyList & | enumerateGroupBackwardKeys () const |
const KeyList & | togglePreeditKeys () const |
bool | activeByDefault () const |
PropertyPropagatePolicy | resetStateWhenFocusIn () const |
Reset active state to the value of activeByDefault on Focus In. More... | |
bool | showInputMethodInformation () const |
bool | showInputMethodInformationWhenFocusIn () const |
bool | compactInputMethodInformation () const |
bool | showFirstInputMethodInformation () const |
PropertyPropagatePolicy | shareInputState () const |
bool | preeditEnabledByDefault () const |
const KeyList & | defaultPrevPage () const |
const KeyList & | defaultNextPage () const |
const KeyList & | defaultPrevCandidate () const |
const KeyList & | defaultNextCandidate () const |
int | defaultPageSize () const |
bool | overrideXkbOption () const |
Override the xkb option from display. More... | |
const std::string & | customXkbOption () const |
The enforce the xkb option for custom xkb state. More... | |
bool | allowInputMethodForPassword () const |
Allow use input method in password field. More... | |
bool | showPreeditForPassword () const |
Show preedit when typing in password field. More... | |
int | autoSavePeriod () const |
Number of minutes that fcitx will automatically save user data. More... | |
int | modifierOnlyKeyTimeout () const |
Number of milliseconds that modifier only key can be triggered with key release. More... | |
bool | checkModifierOnlyKeyTimeout (uint64_t lastPressedTime) const |
Helper function to check whether the modifier only key should be triggered. More... | |
const std::vector< std::string > & | enabledAddons () const |
const std::vector< std::string > & | disabledAddons () const |
void | setEnabledAddons (const std::vector< std::string > &addons) |
void | setDisabledAddons (const std::vector< std::string > &addons) |
bool | preloadInputMethod () const |
void | load (const RawConfig &rawConfig, bool partial=false) |
void | save (RawConfig &rawConfig) const |
bool | safeSave (const std::string &path="config") const |
const Configuration & | config () const |
Configuration & | config () |
Definition at line 25 of file globalconfig.h.
bool fcitx::GlobalConfig::allowInputMethodForPassword | ( | ) | const |
Allow use input method in password field.
Definition at line 430 of file globalconfig.cpp.
int fcitx::GlobalConfig::autoSavePeriod | ( | ) | const |
Number of minutes that fcitx will automatically save user data.
Definition at line 440 of file globalconfig.cpp.
bool fcitx::GlobalConfig::checkModifierOnlyKeyTimeout | ( | uint64_t | lastPressedTime | ) | const |
Helper function to check whether the modifier only key should be triggered.
The user may need to record the time when the corresponding modifier only key is pressed. The input time should use CLOCK_MONOTONIC.
If timeout < 0, always return true. Otherwise, check if it should be triggered based on current time.
Definition at line 450 of file globalconfig.cpp.
const std::string & fcitx::GlobalConfig::customXkbOption | ( | ) | const |
The enforce the xkb option for custom xkb state.
This is only useful for custom xkb translation. Right now there is no way to read system xkb option from wayland. Instead, we can ask user for the fallback.
Definition at line 400 of file globalconfig.cpp.
int fcitx::GlobalConfig::modifierOnlyKeyTimeout | ( | ) | const |
Number of milliseconds that modifier only key can be triggered with key release.
Definition at line 445 of file globalconfig.cpp.
bool fcitx::GlobalConfig::overrideXkbOption | ( | ) | const |
Override the xkb option from display.
This is only useful for custom xkb translation. Right now there is no way to read system xkb option from wayland. Instead, we can ask user for the fallback.
Definition at line 395 of file globalconfig.cpp.
PropertyPropagatePolicy fcitx::GlobalConfig::resetStateWhenFocusIn | ( | ) | const |
Reset active state to the value of activeByDefault on Focus In.
Definition at line 335 of file globalconfig.cpp.
bool fcitx::GlobalConfig::showPreeditForPassword | ( | ) | const |
Show preedit when typing in password field.
Definition at line 435 of file globalconfig.cpp.