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

List:       kde-devel
Subject:    Re: dcop command line and lists
From:       Chris Gow <sniffy () rogers ! com>
Date:       2007-11-08 12:44:24
Message-ID: 200711080744.24756.sniffy () rogers ! com
[Download RAW message or body]

On Wednesday 07 November 2007 18:04:13 Kevin Krammer wrote:
> 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)"
It works without the spaces. Excellent. 

Thanks Kevin!

-- chris

 
>> 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