Problem accessing DataEngine from child object

2010-06-30 Thread Shaun Reich
Hi, I'm trying to get my KdmEngine to compile but I am receiving undefined references. Basically, the KdmEngine, at ctor time creates MyObject by passing 'this' to it's constructor. It requires a KdmEngine* so that I can access the DataEngine from that class and I figured it would make more sense/

Re: Quicklaunch: Migrating storage to kio bookmarks

2010-06-30 Thread Aaron J. Seigo
On June 30, 2010, Ingomar Wesp wrote: > Ingomar Wesp wrote: > > Aaron J. Seigo wrote: > >> my first reaction is to be concerned that this will decrease the general > >> simplicity and elegance of this widget in terms of usage. but i'm > >> prepared to be stunned and converted to the new idea :) > >

Re: Model/View and plasma javascript

2010-06-30 Thread Thomas Fjellstrom
On June 30, 2010, Marco Martin wrote: > On Wednesday 30 June 2010, Thomas Fjellstrom wrote: > > I'm wondering if its possible to use a QStandardItemModel or something > > similar to it with the javascript bindings. I tried QStandardItemModel, > > but it doesn't seem to exist. > > > > Though even i

Re: Model/View and plasma javascript

2010-06-30 Thread Marco Martin
On Wednesday 30 June 2010, Thomas Fjellstrom wrote: > I'm wondering if its possible to use a QStandardItemModel or something > similar to it with the javascript bindings. I tried QStandardItemModel, but > it doesn't seem to exist. > > Though even if I am able to use a standard model from Qt or KDE

Model/View and plasma javascript

2010-06-30 Thread Thomas Fjellstrom
I'm wondering if its possible to use a QStandardItemModel or something similar to it with the javascript bindings. I tried QStandardItemModel, but it doesn't seem to exist. Though even if I am able to use a standard model from Qt or KDE, I don't think theres a view that I'll be happy with, so I

Re: Quicklaunch: Migrating storage to kio bookmarks

2010-06-30 Thread Ingomar Wesp
Ingomar Wesp wrote: > Aaron J. Seigo wrote: >> my first reaction is to be concerned that this will decrease the general >> simplicity and elegance of this widget in terms of usage. but i'm >> prepared to be stunned and converted to the new idea :) > > Alright, I'll give my best ;) On second thoug

Re: how to use a Service in javascript widget?

2010-06-30 Thread Thomas Fjellstrom
On June 30, 2010, Marco Martin wrote: > On Wednesday 30 June 2010, Thomas Fjellstrom wrote: > > I've tried to "port" some C++ example code to a javascript widget to > > try and access the service operations in a data engine: > > > > service = networkinfo.serviceForSource("manual"); > > // also tri

Re: how to use a Service in javascript widget?

2010-06-30 Thread Marco Martin
On Wednesday 30 June 2010, Thomas Fjellstrom wrote: > I've tried to "port" some C++ example code to a javascript widget to try > and access the service operations in a data engine: > > service = networkinfo.serviceForSource("manual"); > // also tried: > // service = plasmoid.service("networkinfo",

how to use a Service in javascript widget?

2010-06-30 Thread Thomas Fjellstrom
I've tried to "port" some C++ example code to a javascript widget to try and access the service operations in a data engine: service = networkinfo.serviceForSource("manual"); // also tried: // service = plasmoid.service("networkinfo", "manual") // which complains that service isn't a function op