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

List:       kde-devel
Subject:    Re: dcop command line and lists
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2007-11-07 14:50:09
Message-ID: 200711071550.09460.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 07 November 2007, Chris Gow wrote:
> Hello:
> >from a shell, is it possible to call the following dcop function?
>
> kontact  MailTransportServiceIface sendMessage(QString from,QString
> to,QString cc,QString bcc,QString subject,QString body,KURL::List
> attachments)
>
> I want to pass 0 attachments.

A list is "detected" by parenthese or brackets (both need escaping), e.g

\[ item1 item2 item3 \]

or

\( item1 item2 item3 \)

So in your case (0 attachments) try

\( \)

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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