[kdepim-users] qdbus QStringList

Dj YB syehielb at t2.technion.ac.il
Fri May 13 15:19:43 BST 2011


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



More information about the kdepim-users mailing list