[Kde-pim] D-Bus Help

Kevin Krammer kevin.krammer at gmx.at
Sat Dec 1 13:44:47 GMT 2007


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

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koeventviewer.diff
Type: text/x-diff
Size: 927 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20071201/a10f556e/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20071201/a10f556e/attachment.sig>
-------------- next part --------------
_______________________________________________
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