Questions about View/Containment/plasmaTasksModel etc
Copied from https://www.reddit.com/r/kde/comments/reamc0/latte_dock_any_questions_about_settings/
Hi /u/psifidotos really appreciate your work on Latte. I opened and am now working on bug 446711, and I figured since you're offering your expertise here this might be a decent place to ask some questions about the code (even though my question isn't about settings specifically).
In the code, what exactly is a View vs a Containment (i.e. containmentinterface.cpp
and view.cpp
)? And is the list of apps within a dock stored in ContainmentInterface.plasmaTasksModel
(or latteTasksModel
)? What is the difference between these two models, and is it possible to get the path to the corresponding .desktop
file of each app from somewhere?
This is my first time working with any kind of depth in C++ or Qt, so it might just be my unfamiliarity, but I'm feeling pretty lost at the moment...
On the bright side, after much struggle on Kubuntu 20.04, I got it to build by reverting 05e588c3330aa1bc7c45b26afb4c1f53266548a0
so I can at least begin to work on it! :)
Thanks again!!