nepomuk models progress
Marco Martin
notmart at gmail.com
Mon Oct 24 17:24:25 UTC 2011
Hi all,
i think the replacement for the metadata datamodels are almost ready, the
activty screen and add resource interface are already ported, going to do so
for the image viewer as well (would like input from calligra people as they
port the ui of calligra mobile to it)
Since a video is worth 1k words:
http://www.youtube.com/watch?v=5O1Fq6jc36U
this is the comparison on the first time you do a nepomuk query with a lot of
results, subsequent ones of course are less evident ;)
the big difference is that now being a model, results start to be visualize as
soon they arrive and the properties gets extracted from the resources only on
demand (still possible other optimizations, like actually paging the results)
is also possible do from qml more complex queries, like "images connected to
an activity that have a rating of at least 3"
this will be necessary for the resource browser, still needs some refinements
to the api to do queries, like negation for not displaying resources already
linked to an activity or adding from qml new properties to filter such as
artist for mp3s or exif stuff, that would make the c++ api a bit too heavy.
please, take a look at the branch mart/nepomukmodel of the plasma-mobile repo
to see if there are significative problems, or if as an app developer still
needs some bits.
Cheers,
Marco Martin
More information about the Active
mailing list