Resource linking API (for kactivities users)

Marco Martin notmart at
Thu Feb 2 09:44:14 UTC 2012

On Thu, Feb 2, 2012 at 10:01 AM, Ivan Cukic <ivan.cukic at> wrote:
> Hi,
> Instead of doing a manual isRelated for Activity->Resource like it
> currently is in applets and other places, you *need* to use
> KActivities::Info::linkResource(...) and
> KActivities::Info::unlinkResource(...).
> Also, you can use KActivities::Info::linkedResources() for getting them.
> But this is not a requirement.

i think the slc linker/unlinker and the services are worth updating,
simplifies the code a lot :)

to list the linked ones probably not, not sure, since i often do also
slightly more complex queries like "all images that are not in the
also would need to notify for changes and be nicely mapped to a model

Marco Martin

More information about the Active mailing list