- Activities are sorted based on the last time used (an often requested feature, that makes meta+tab order activities like alt-tab orders windows - allows easy switching to the previous activity)
- The data models are created once, and reused instead of allowing QML to instantiate them
- Sorting logic is not duplicated in C++ and QML anymore (we now have a proper C++-instantiated model instead of having to rely on the QML one provided by KActivities QML module)
- Activity starting/stopping/switching methods are now in the backend module, no need to go through the model
Since Plasma 5.6 can not depend on KF5.20, some parts of KActivities
code are copied in the backport subfolder. This is to be removed after
5.6 is released, and Plasma will use the new
KActivities::ActivitiesModel class.
This change is important enough to warrant this trickery.