[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 23:04:13
Message-ID: 200711080004.13422.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 07 November 2007, Chris Gow wrote:

> Thanks. Unfortunately it doesn't appear to work for me. dcop picks the
> wrong function signature :(.
>
> $ dcop kontact MailTransportServiceIface
> sendMessage "chris.gow@gmail.com" "chris.gow@gmail.com" "" "" "subject"
> "body" \( \)
> cannot handle datatype 'QByteArray'
>
> dcop is selecting the version of sendMessage that takes an array. I tried
> both \[ \] and \( \). With and without items. Made no difference.
>
> Is it possible to pass the parameter types in addition to the function name
> to dcop?
>
> eg. something like dcop kontact
> MailTransportServiceIface "sendMessage(QString, QString, QString, QString,
> QString, QString, KURL::List)" ?
>
> I tried the above but it didn't make a difference.

Works for me. Try with all whitespace removed in the signature, i.e.
"sendMessage(QString,QString,QString,QString,QString,QString,KURL::List)"

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