Re: does HTTP extension work in plasma qml?

2013-07-19 Thread Bruce Ouyang
i found qml XmlHttpRequest is fit for my needs, thanks for your reply. On 2013年7月16日星期二 CST下午8时44分01秒, Sebastian Kügler wrote: Hi Bruce, On Tuesday, July 16, 2013 19:51:09 bruce wrote: i have wrote a little plasma-qml applet.i try to utilize HTTP extension from plasma-javascript to retreive

Re: does HTTP extension work in plasma qml?

2013-07-17 Thread Aaron J. Seigo
On Tuesday, July 16, 2013 18:57:57 Sebastian Kügler wrote: On Tuesday, July 16, 2013 17:24:42 Marco Martin wrote: On Tue, Jul 16, 2013 at 2:44 PM, Sebastian Kügler se...@kde.org wrote: i have add line X-Plasma-RequiredExtensions=LaunchApp,HTTP in this qml plasmoid metadata.desktop is HTTP

Re: does HTTP extension work in plasma qml?

2013-07-16 Thread Sebastian Kügler
Hi Bruce, On Tuesday, July 16, 2013 19:51:09 bruce wrote: i have wrote a little plasma-qml applet.i try to utilize HTTP extension from plasma-javascript to retreive web resources. but plasmoid.getUrl() returned undefined. in plasma-javascript works well. i have pasted the main.qml code into

Re: does HTTP extension work in plasma qml?

2013-07-16 Thread Kevin Krammer
On Tuesday, 2013-07-16, Sebastian Kügler wrote: Hi Bruce, On Tuesday, July 16, 2013 19:51:09 bruce wrote: i have wrote a little plasma-qml applet.i try to utilize HTTP extension from plasma-javascript to retreive web resources. but plasmoid.getUrl() returned undefined. in

Re: does HTTP extension work in plasma qml?

2013-07-16 Thread Marco Martin
On Tue, Jul 16, 2013 at 2:44 PM, Sebastian Kügler se...@kde.org wrote: i have add line X-Plasma-RequiredExtensions=LaunchApp,HTTP in this qml plasmoid metadata.desktop is HTTP extension available in QML? This is a little different in QML, you can load content from a http://url in many

Re: does HTTP extension work in plasma qml?

2013-07-16 Thread Sebastian Kügler
On Tuesday, July 16, 2013 17:24:42 Marco Martin wrote: On Tue, Jul 16, 2013 at 2:44 PM, Sebastian Kügler se...@kde.org wrote: i have add line X-Plasma-RequiredExtensions=LaunchApp,HTTP in this qml plasmoid metadata.desktop is HTTP extension available in QML? This is a little different in