13int main(
int argc,
char **argv)
15 QGuiApplication app(argc, argv);
17 const QStringList actionNames{
18 QStringLiteral(
"Walk Through Desktops"),
19 QStringLiteral(
"Walk Through Desktops (Reverse)"),
20 QStringLiteral(
"Walk Through Desktop List"),
21 QStringLiteral(
"Walk Through Desktop List (Reverse)"),
24 for (
const QString &actionName : actionNames) {
26 action.setObjectName(actionName);
27 action.setProperty(
"componentName", QStringLiteral(
"kwin"));
28 KGlobalAccel::self()->setShortcut(&action, {QKeySequence()}, KGlobalAccel::NoAutoloading);
29 KGlobalAccel::self()->removeAllShortcuts(&action);