shell: Remove Meta+<1-9> task-manager shortcut dispatch
Note
Companion MR: plasma-desktop!3884 (merged) - this MR requires that one to be merged first or at the same time.
This MR removes the Meta+<1-9> shortcut registration and the activateTaskManagerEntry() method from shellcorona, which are now handled entirely within the taskmanager applet (see companion MR).
What's removed
- The shortcut registration loop in
ShellCorona::init()that created 10KActionCollectionactions and wired them toactivateTaskManagerEntry() - The
ShellCorona::activateTaskManagerEntry()method that iterated panel views, scanned containment applets fororg.kde.plasma.multitasking, and usedQMetaMethod::invoketo call into QML - The declaration in
shellcorona.h
This decouples the shell from the taskmanager applet's internal QML API (activateTaskAtIndex(QVariant)). All task-switching shortcuts now live in the applet alongside the cycling/move shortcuts from plasma-desktop!3819 (merged).
Edited by Salman Farooq