[Kde-pim] D-Bus Help

Allen Winter winter at kde.org
Sat Dec 1 14:07:08 GMT 2007


On Saturday 01 December 2007 08:44:47 Kevin Krammer wrote:
> Hi Allen,
> 
> On Saturday 01 December 2007, Allen Winter wrote:
> > Howdy,
> >
> > Anyone out there in PIM land know about D-Bus?
> >
> > I need help in KOrganizer.
> > KOEventViewer::editIncidence() and KOEventViewer::showIncidenceContext()
> > do not work, for example.
> >
> > I think we need a KOrganizer services file, for sure.
> 
> Well'll only need a D-Bus service file if we want to have D-Bus autostart 
> Korganizer on any call ot its name if it is not running yet.
> 
> The code in question already starts Korganizer itself, at least this is what I 
> think KToolInvocation::startServiceByDesktopPath() does.
> 
> The problem quite certainly that the serivce name passed to the interface 
> implementation class does not match the name Korganizer is requesting 
> (registering), see the attached patch (not tested though).
> 
> Of course another possibility would be to have Korganizer register the other 
> name, but since the current one is probably the one registered automatically 
> by KUniqueApplication, the other change is easier :)
> 
> Cheers,
> Kevin
> 
Gee, that was easy.
Thanks Kevin.  Works now!

-Allen

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list