plasmoid: Clean it up, drop dead code, remove hacks etc
Port Switch to use a proper signal handler for user interactions
In this particular case it doesn't matter too much, since the checked property is not bound to anything. But it's still a good practice to react to the toggled() signal for user interactions.
Drop unnecessary qualified property access
Drop QML import versions
They are deprecated and unhelpful.
This is an automated change using the following regexp: Search: (import \S+) \d\S*( as \S*)? Replace: \1\2
Sort QML imports, add conventional import aliases, drop unused ones
Use proper (typed, qualified) property access
Drop unused property for laptop detection
Amends 2e6781c5
Remove dead code
Seems like the applet is always passive, despite that comment stating otherwise.
Amends e07ba2cb
Drop icon-only button hacks
Port to pragma ComponentBehavior: Bound
Mark property as FINAL
Move actions filtering logic from UI to backend
just where it belongs.