Add kglobalacceld recipe with D-Bus service wiring and config entry

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-25 14:49:39 +01:00
parent 9c8de2d919
commit da53c400b4
48 changed files with 5797 additions and 2 deletions
@@ -0,0 +1,23 @@
#ifndef SEQUENCEHELPERS_H
#define SEQUENCEHELPERS_H
#include <kglobalaccel_export.h>
#include <QKeySequence>
// Some methods are exported for the unittest
namespace Utils
{
KGLOBALACCEL_EXPORT QKeySequence reverseKey(const QKeySequence &key);
KGLOBALACCEL_EXPORT QKeySequence cropKey(const QKeySequence &key, int count);
bool contains(const QKeySequence &key, const QKeySequence &other);
KGLOBALACCEL_EXPORT bool matchSequences(const QKeySequence &key, const QList<QKeySequence> &keys);
KGLOBALACCEL_EXPORT QKeySequence mangleKey(const QKeySequence &key);
}
#endif // SEQUENCEHELPERS_H