small change to declarative api: engine -> dataEngine

Marco Martin notmart at gmail.com
Tue Jun 14 10:03:05 CEST 2011


On Tuesday 14 June 2011, Aaron J. Seigo wrote:
> hi ...
> 
> looking at the qml bindings it occured to me one reqeson people don't seem
> to notice right away the dataengine support: the tag that is recognized is
> "engine". what is an "engine"? ;) we tend to refer to them everywhere as
> DataEngines, in the JS API you access them with dataEngine ..
> 
> we can also support engine: for backwards compatibility, of course..
> 
> i'm unsure where in the bindings this happens as a quick grep didn't point
> it out... Marco?

changing to dataEngine is ok.
it's in datasource.cpp
(name DataSource that is probably the biggest hurdle, but calling it 
dataengine was quite a big stretch of imagination, snice is not a dataengine, 
but a client to a dataengine)

-- 
Marco Martin


More information about the Plasma-devel mailing list