From kde-pim Wed Oct 03 07:43:12 2007 From: Dag Andersen Date: Wed, 03 Oct 2007 07:43:12 +0000 To: kde-pim Subject: [Kde-pim] kmail, dbus, KToolInvocation Message-Id: <200710030943.12431.danders () get2net ! dk> X-MARC-Message: https://marc.info/?l=kde-pim&m=119139742116009 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/