Re: [Kde-bindings] Ruby applet dataEngine service operation call

2010-07-07 Thread Richard Dale
On Mon, Dec 14, 2009 at 6:19 PM, Arno Rehn wrote: > Hi, > > we already know this problem (KPluginFactoy::create() has it as well) and > currently only have a workaround, which consists of special-casing the > affected method. This is obviously not the ideal solution. > > So what we really want is

Re: [Kde-bindings] Ruby applet dataEngine service operation call

2009-12-14 Thread Arno Rehn
Hi, we already know this problem (KPluginFactoy::create() has it as well) and currently only have a workaround, which consists of special-casing the affected method. This is obviously not the ideal solution. So what we really want is the following: For objects that we create ourselves in the bi

Re: Ruby applet dataEngine service operation call

2009-12-14 Thread Richard Dale
On Sat, Dec 12, 2009 at 3:58 PM, Cédric wrote: > > Hi richard, > > Do you think this is corrected now and if it is in which release will it be > available ? No, i'm afraid the code generated by the new smoke bindings generator is the same as the old one: void x_12(Smoke::Stack x) { //

Re: Ruby applet dataEngine service operation call

2009-12-12 Thread Cédric
Hi richard, Do you think this is corrected now and if it is in which release will it be available ? Thanks Cedric > > > > On Tue, Aug 18, 2009 at 2:59 PM, Richard Dale wrote: > >> On Tue, Aug 18, 2009 at 1:45 PM, Cédric wrote: >> > Thanks Richard, >> > >> > That seems to be the problem. >> > What

Re: Ruby applet dataEngine service operation call

2009-08-18 Thread Richard Dale
On Tue, Aug 18, 2009 at 1:45 PM, Cédric wrote: > Thanks Richard, > > That seems to be the problem. > What I was telling in my earlier mail is that the javascript binding seems > to have a similar problem with plasmoid.dataEngine("engine > name").serviceForSource("source name") and maybe they solved

Re: Ruby applet dataEngine service operation call

2009-08-18 Thread Cédric
Thanks Richard, That seems to be the problem. What I was telling in my earlier mail is that the javascript binding seems to have a similar problem with plasmoid.dataEngine("engine name").serviceForSource("source name") and maybe they solved it by implementing the service function: plasmoid.service

Re: Ruby applet dataEngine service operation call

2009-08-18 Thread Richard Dale
On Tue, Aug 18, 2009 at 12:45 PM, Richard Dale wrote: > On Tue, Aug 18, 2009 at 9:24 AM, Cédric wrote: >> Well, >> >> Thanks for your answer Aaron. >> >> I think your first suggestion is the write one. I tried to implement this >> code with the Javascript binding and in the tutorial page >> (http:/

Re: Ruby applet dataEngine service operation call

2009-08-18 Thread Richard Dale
On Tue, Aug 18, 2009 at 9:24 AM, Cédric wrote: > Well, > > Thanks for your answer Aaron. > > I think your first suggestion is the write one. I tried to implement this > code with the Javascript binding and in the tutorial page > (http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/Cheat

Re: Ruby applet dataEngine service operation call

2009-08-18 Thread Cédric
Well, Thanks for your answer Aaron. I think your first suggestion is the write one. I tried to implement this code with the Javascript binding and in the tutorial page ( http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/CheatSheet) they state this : - DO NOT use plasmoid.dataEng

Re: Ruby applet dataEngine service operation call

2009-08-17 Thread Aaron J. Seigo
On Sunday 16 August 2009, Cédric wrote: > service=dataEngine("tasks").serviceForSource(dataEngine("tasks").sources.fi >rst) things i can think of: * the ruby script engine bindings are not functioning properly * sources.first is not a valid name of a task (e.g. it's a start up task or some other

Ruby applet dataEngine service operation call

2009-08-16 Thread Cédric
Hello, I would like to create a ruby plasma applet which will use the tasks data engine. I have a problem to call operations on service. In plasmaengineexplorer i can close a window but i don't manage it in ruby service=dataEngine("tasks").serviceForSource(dataEngine("tasks").sources.first) ser