53 static void setGlobalRemap(
const QHash<QString, QString> keyToActual);
84 void update(QFile&
cmd,
bool force =
false);
void load(CkbSettings &settings)
void setAction(const QStringList &keys, const QString &action)
KbBind(KbMode *modeParent, Kb *devParent, const KeyMap &keyMap)
static bool isMouse(Model model)
static QString globalRemap(const QString &key)
static void setGlobalRemap(const QHash< QString, QString > keyToActual)
QString friendlyActionName(const QString &key)
static bool isKeyboard(Model model)
QString friendlyName(const QString &key)
void resetAction(const QString &key)
void resetAction(const QStringList &keys)
void winLock(bool newWinLock)
QString action(const QString &key)
void save(CkbSettings &settings)
static bool isISO(Layout layout)
QString defaultAction(const QString &key)
void update(QFile &cmd, bool force=false)
void keyEvent(const QString &key, bool down)
QString getMacroPath()
KbBind::getMacroPath.
void handleNotificationChannel(bool start)
handleNotificationChannel sends commands to ckb-daemon for (de-) activating the notify channel...
static QHash< QString, QString > _globalRemap
void noAction(const QString &key)
QHash< QString, KeyAction * > _bind
static void saveGlobalRemap()
void noAction(const QStringList &keys)
quint64 lastGlobalRemapTime
QFile * lastCmd
lastCmd is a cache-hack. Because the QFile ist opened in Kb, and we need it in the macro processing f...
void setAction(const QString &key, const QString &action)
static quint64 globalRemapTime
int getMacroNumber()
KbBind::getMacroNumber.
KbMode * modeParent() const
KeyAction * bindAction(const QString &key)
static void loadGlobalRemap()