Stable DCOP Interface For Listing Collection Contents?

Max Howell maxim.howell at googlemail.com
Fri Oct 20 13:30:20 UTC 2006


>> I'm not sure about how much dcop can do, but is it possible to have a
>> StringList as an argument?  Each string can specify the column of data
>> to add to the xml?
>
> I tried doing that a long time ago for another DCOP call.  I had a list
> of filenames that I wanted to pipe into the call and have it run a
> function on each.  Supposedly it's possible, but I couldn't find out the
> correct syntax...a Google search told me several different ways, none of
> which actually worked, and no one on #kde-devel had any (correct) idea.

I believe the amarok loader app passes a stringlist via the dcop cli
tool, so maybe look there for the syntax. It's something involving
square brackets I think.

I had to go into the KDE sources to figure out how, and yet we wonder
why pro software companies stick to Qt only?

Max



More information about the Amarok mailing list