← Back to team overview

ubuntu-phone team mailing list archive

QML ContentStore example?

 

Hello,

I have searched in vain for an example of a minimal use of ContentStore -
such that imported files do not by default end up under ~/.cache where they
will be deleted from.

The API docs are unclear as well.

Should I just instantiate a ContentStore component in the app with app
scope?

The more laborious alternative is to use item.move() I guess but that too
can fail.
What can be the reasons for both move and copy to fail when calling
item.move(dir) ?

thanks
Jani

Follow ups