On Monday, March 21, 2011, Thorsten Zachmann wrote: > Hello Sinny, > > On Monday, March 21, 2011 04:52:08 Sinny Kumari wrote: > > CC'ing to plasma-devel, thanks for the suggestion todd. > > > > On Mon, Mar 21, 2011 at 1:31 AM, todd rme <toddrme2...@gmail.com> wrote: > > > On Sun, Mar 20, 2011 at 1:17 PM, Sinny Kumari <ksi...@gmail.com> wrote: > > >> HI! > > >> > > >> I am working on idea > > >> http://community.kde.org/GSoC/2011/Ideas#Project:_Plasma-based_Present > > >> at ion_View > > >> > > >> In order to do it, initially I thought, I will use D-Bus for > > >> slideshow, next/previous slide > > >> Later what I understood is that, kpresenter must be running for the > > >> D-Bus call to work which is not a good approach to do. > > >> > > >> Also, I am not sure if I can get huge data like Slide previews through > > >> D-Bus calls > > >> > > >> So, what would be the preferred way to do this? Please suggest me > > I see two possibilities here. > > 1. Use dbus to communicate with stage(kpresenter) > > 2. Use plasma in stage.
with the Plasma KPart, which is in kde-runtime, #2 is probably the easiest. and if done using a proper DataEngine/Plasmoid split (as in Skrooge or the Kontact dashboard), it could be moved to a #1 style implementatoin fairly easily by adjusting the DataEngines. > If used plasma internally it should be made sure that this is an optional > dependency that is not needed if the user doesn't want it. with the Plasma KPart, it becomes a runtime dependency only. the existence can be checked for with KServiceTypeTrader, and it ships with kde-runtime so there are no further installation dependencies as of right now (this may change in future when we modularize kde-runtime). here's a quicky tutorial/overview for using the KPart: http://techbase.kde.org/Development/Tutorials/Plasma/ApplicationShell and there is a small example in kdeexamples/plasma/c++/kpart/ -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel