Re: Generating QtScript bindings for Qt5

2016-07-26 Thread R.Harish Navnit
On Tue, Jul 26, 2016 at 3:36 AM, Aleix Pol wrote: > > Hi Harish, > What are you trying to do? What do you need it for? Oh sorry, I should have mentioned it earlier. I'm trying to work on porting plasma's publictransport applet to plasma5. The dataengine downloads

Re: Generating QtScript bindings for Qt5

2016-07-25 Thread Aleix Pol
On Mon, Jul 25, 2016 at 11:37 PM, R.Harish Navnit wrote: > Hi, > > In Qt4, we had qtscriptgenerator which helped in generating Qt > bindings, which are needed to import qt extensions to QScriptEngine > etc. However, AFAIK this hasn't made it to Qt5 or at least there, is >

Generating QtScript bindings for Qt5

2016-07-25 Thread R.Harish Navnit
Hi, In Qt4, we had qtscriptgenerator which helped in generating Qt bindings, which are needed to import qt extensions to QScriptEngine etc. However, AFAIK this hasn't made it to Qt5 or at least there, is no official release yet. Can anyone point me to or show me how one can generate Qt script

Re: QtScript bindings

2009-09-15 Thread Tommi Mikkonen
Aaron J. Seigo wrote: Frame is not a QFrame, it's a Plasma::Frame. WebView is not a QWebView, it's a Plasma::WebView. Ok, accepted; the problem is that I'm aiming at porting from QtScript to Plasma, and this is one of the things where I constantly make mistakes. Can I create a QFrame inside

Re: QtScript bindings

2009-09-15 Thread Marco Martin
On Monday 14 September 2009, Tommi Mikkonen wrote: Aaron J. Seigo wrote: On September 14, 2009, Tommi Mikkonen wrote: Having said that, what I would also like is a harmonized API; having finally spend some hours tonight (after traveling in conferences for some weeks!) on JS Plasmoid

Re: QtScript bindings

2009-09-15 Thread Marco Martin
On Tuesday 15 September 2009, Tommi Mikkonen wrote: Aaron J. Seigo wrote: Frame is not a QFrame, it's a Plasma::Frame. WebView is not a QWebView, it's a Plasma::WebView. Ok, accepted; the problem is that I'm aiming at porting from QtScript to Plasma, and this is one of the things where I

Re: QtScript bindings

2009-09-15 Thread Tommi Mikkonen
Marco Martin wrote: the api of plasma widget is limited to protect the simple js bindings, in the full ones there could be the access to nativeWidget() i suppose, so they could have the full api of the underlying embedded qwidget Doing this would result in an extremely powerful

Re: QtScript bindings

2009-09-15 Thread Robert Knight
smoke based? have you looked into the qscript generator that Kent @ Qt has been working on (for a long time now ... i wonder why there isn't more news about it by now...) Please check with Kent whether there has been any change on this but last I looked at the binding generator (shortly after

QtScript bindings

2009-09-14 Thread Ian Monroe
Mark said you were interested in QtScript bindings. Do you want bindings of the chunks of the Qt api + Plamsa API? Or just a simplified subset of the Plasma API? If its the former, we should talk. :) I've started the very beginnings of a Smoke-based binding. If its the latter, then you really

Re: QtScript bindings

2009-09-14 Thread Tommi Mikkonen
wrote: Mark said you were interested in QtScript bindings. Do you want bindings of the chunks of the Qt api + Plamsa API? Or just a simplified subset of the Plasma API? If its the former, we should talk. :) I've started the very beginnings of a Smoke-based binding. If its the latter, then you

Re: QtScript bindings

2009-09-14 Thread Ian Monroe
We already talked about this on IRC, so just recording for everyone else. On Mon, Sep 14, 2009 at 12:14 PM, Aaron J. Seigo ase...@kde.org wrote: On September 14, 2009, Ian Monroe wrote: Do you want bindings of the chunks of the Qt api + Plamsa API? Or just a simplified subset of the Plasma

Re: QtScript bindings

2009-09-14 Thread Aaron J. Seigo
On September 14, 2009, Tommi Mikkonen wrote: What I'd personally like to do is to create the same stuff downloadable at lively.cs.tut.fi/qt inside a plasmoid using plain JavaScript. In once we have full qt/kdelibs bindings available to us, this should be trivial. it would be really interesting

Re: QtScript bindings

2009-09-14 Thread Tommi Mikkonen
Aaron J. Seigo wrote: On September 14, 2009, Tommi Mikkonen wrote: What I'd personally like to do is to create the same stuff downloadable at lively.cs.tut.fi/qt inside a plasmoid using plain JavaScript. In once we have full qt/kdelibs bindings available to us, this should be

Re: QtScript bindings

2009-09-14 Thread Aaron J. Seigo
On September 14, 2009, Tommi Mikkonen wrote: Having said that, what I would also like is a harmonized API; having finally spend some hours tonight (after traveling in conferences for some weeks!) on JS Plasmoid development with Lively content, I constantly seem to have problems on the names of

Re: QtScript bindings

2009-09-14 Thread Tommi Mikkonen
Aaron J. Seigo wrote: On September 14, 2009, Tommi Mikkonen wrote: Having said that, what I would also like is a harmonized API; having finally spend some hours tonight (after traveling in conferences for some weeks!) on JS Plasmoid development with Lively content, I constantly seem to

Re: QtScript bindings

2009-09-14 Thread Aaron J. Seigo
On September 14, 2009, Tommi Mikkonen wrote: can you provide some concrete examples? QFrame vs. Frame and QWebView vs. Webview is QtScriptGenerator and Plasmoids, Frame is not a QFrame, it's a Plasma::Frame. WebView is not a QWebView, it's a Plasma::WebView. and at the same time