From kde-devel Thu Nov 08 12:44:24 2007 From: Chris Gow Date: Thu, 08 Nov 2007 12:44:24 +0000 To: kde-devel Subject: Re: dcop command line and lists Message-Id: <200711080744.24756.sniffy () rogers ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=119452591616543 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 <<