[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] kmail, dbus, KToolInvocation
From:       Dag Andersen <danders () get2net ! dk>
Date:       2007-10-03 7:43:12
Message-ID: 200710030943.12431.danders () get2net ! dk
[Download RAW message or body]

Hi, I'm looking at kplato - kdepim integration, trying to send a mail from 
kplato with kmail. I used the komailclient.h/-.cpp as example but it doesn't 
work.
AFAICS there are two problems in komailclient:
1) The dbus interface is called "org.kde.kmail.KMail" in the program, 
but "org.kde.kmail.kmail" (lower case) in the xml file.
2) There is only one openComposer method defined in the xml file with 6 input 
arguments, the program calls with either 7 or 15 arguments.

Using KToolInvocation instead opens the composer allright, but doesn't fill 
the "to" field. If I try to start kmail from the console with:
kmail --composer mailto:a@b
it works, but adding a "mailto" in my program doesn't work.

Anyone who can help with this?
-- 
Mvh
Dag Andersen
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic