Summary: | DCOP bindings in Perl: QStringList not working properly | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Sven Hergenhahn <svenxy> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | andresbajotierra |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sven Hergenhahn
2005-07-07 15:17:08 UTC
Uhm, Kopete is the instant messanger. You want the Perl DCOP bindings. ;-) Sorry, wrong developer group, this is the correct one: Bug 108706 Uhm, I already switched the component on this one to the appropriate one. KDevelop is not the right place. The problem is that the Perl DCOP bindings only support method overloading resolution based on the number of args. It doesn't resolve overloading based on the type of the args at the moment. You need to use $client->call() and specify the type signature of the method that takes a QStringList. I would expect this to work: $client->call("juk", "Player", "openFile(QStringList)", at files); -- Richard use DCOP; my $client = new DCOP(); $client->attach(); my @files = ("foo.mp3", "bar.mp3"); $client->call("juk", "Player", "openFile(QString, QStringList)", 'Play Queue', @files); Error: DCOP: Not reference at dcop.pl line 54. Process perl exited with code 9 $client->call("juk", "Player", 'openFile(QString, QStringList)', 'Play Queue', \@files); This exits correctly with 0, but the files do not show up in the Playlist. Do I miss anything? Thanks, Sven Closing as DCOP is unmaintained. |