KDE-ify QML all across KDE

Marco Martin notmart at gmail.com
Thu Jan 27 15:11:12 CET 2011

On Thu, Jan 27, 2011 at 9:09 AM, Shantanu Tushar Jha
<jhahoneyk at gmail.com> wrote:
> Hi Marco,
> I'm am working on Calligra Mobile as an Intern at Nokia. Just remembered
> that you had sent this mail. I understand that libkdeclarative is planned to
> be *the* way to access essential kdelibs functionality. If so, I was
> thinking about adding functionality to libkdeclarative as per needs arise
> for calligra mobile.
> e.g. right now I need a way to access Image loading in QML similar to
> KIcon("kwords.png"), so we can add something to libkdeclarative, right?
> Cheers,

libkdeclarative is meant to do things that are not possible with
imports, so freeing the engine, registering the creation of non
qobject types.
so still not sure but binding for say qimage needs to be in
libkdeclarative if we need the following in Javascript:
var image = new QImage("/path/to/foo.png")
imageDeclarativeItem = image

that imageDeclarativeItem is a qgrahincsdeclarative item suclass and i
got a good news for you ;)
still in svn, playground/widgets/qtextracomponents there are elements
for pixmap and images (still have to write the qicon one)

right now i'm in several days of meetings so can't really help/answer
quickly but when i get back (from saturday/sunday) let's have a talk
about it ;)

Marco Martin

More information about the Kde-mobile mailing list