On 8/25/08, Kevin Ottens <[EMAIL PROTECTED]> wrote: > Le Monday 25 August 2008, Aaron J. Seigo a écrit : >> * how to integrate with special buttons on these devices? > > FYI, I'm planning to channel this through libsolid. API wise we're close to > have everything we need there, so it's really about upgrading the internal > mechanics to make it work. > > Once that's done, I'm not exactly sure what would be the best way for plasma > to be notified of the button events. For sharing sake a data engine looks > like > a good approach, except that this kind of events don't really have an > interesting state. > > The alternative could be to provide an event-ish method in Plasma::Applet. > Just like we have the shouldConserveResources() method in there.
I think an event style model makes sense. We're going to have some non-button type stuff in the future - for example 'running out of power', 'you have a phone call' etc. so we need a fairly generic mechanism. Rich. _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel