qdbus QStringList

Dj YB <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
previously posted on the fedora list but got no solution yet.
perhaps someone here would know.

On Tuesday May 10 2011 17:43:34 Rex Dieter wrote:
> Dj YB wrote:
> > Hello,
> > 
> > I am trying to write a bash script using qdbus but cant figure out how to
> > send a QStringList
> > 
> > tried the following:
> > 
> > "1" "2"
> > 
> > "1","2"
> > "1";"2"
> > ("1","2")
> > (1,2)
> > 
> > "1"
> > "2"
> > 
> > 1
> > 2
> > 
> > none of the above worked.
> > I am sure I have already asked that before but I could not find the
> > thread.
> 
> Try,
> "(" "element1" "element2" "element3" ")"

Thanks for the reply, though it did not work
the call is this:

qdbus org.kde.korganizer /Calendar org.kde.Korganizer.Calendar.openTodoEditor 
"summary" "description" "(" "file1" "file2" "file3" ")"

thats the signature:
method void org.kde.Korganizer.Calendar.openTodoEditor(QString summary, 
QString description, QStringList attachments)

Any help appreciated.
Thanks,
YB.
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.