DataEngine and actions
Ivan Čukić
ivan.cukic+kde at gmail.com
Thu Jul 31 10:23:53 CEST 2008
Since there is a current discussion about ABI and API breakage for 4.2, I
wanted to propose a change to DataEngine.
Many data providers would benefit from having a feedback in a sense that data
they provide could have some action associated with it.
For example, tasks in the tasks data engine could have the activities
'minimize', 'close', 'activate'... the places engine could have 'open',
'unmount'... the contacts engine.. etc. You get the picture.
Due to lack of this option, most of the default applets that come with plasma
use the external KDE API to do their work. Task Manager doesn't use
DataEngines at all, and Device Notifier has a lot of unnecessary Solid::.*
code in it.
This implies that Plasmoid developers should know KDE's APIs even for the
simplest tasks (creating a device notifier should really be trivial).
Cheerio,
Ivan
--
Money can't buy happiness, but neither can poverty.
-- Leo Rosten
More information about the Plasma-devel
mailing list