7 #ifndef _FCITX_INPUTMETHODMANAGER_H_ 8 #define _FCITX_INPUTMETHODMANAGER_H_ 15 #include <fcitx-utils/macros.h> 16 #include <fcitx/fcitxcore_export.h> 17 #include <fcitx/inputmethodgroup.h> 27 class InputMethodManagerPrivate;
29 class InputMethodEntry;
53 &buildDefaultGroupCallback = {});
57 &buildDefaultGroupCallback = {});
75 std::vector<std::string> groups()
const;
78 int groupCount()
const;
82 void setCurrentGroup(
const std::string &group);
88 void enumerateGroup(
bool forward);
97 void enumerateGroupTo(
const std::string &groupName);
104 void setDefaultInputMethod(
const std::string &name);
118 void addEmptyGroup(
const std::string &name);
121 void removeGroup(
const std::string &name);
132 void setGroupOrder(
const std::vector<std::string> &groups);
151 bool checkUpdate()
const;
163 void(
const std::string &group));
165 void(
const std::string &group));
176 void(
const std::string &group));
187 void(
const std::string &group));
190 std::unique_ptr<InputMethodManagerPrivate> d_ptr;
195 #endif // _FCITX_INPUTMETHODMANAGER_H_ Base class for all object supports connection.
#define FCITX_DECLARE_SIGNAL(CLASS_NAME, NAME,...)
Declare signal by type.
Utilities to enable use object with signal.