Activities protocol
Marco Martin
notmart at gmail.com
Tue Jul 13 15:45:05 CEST 2010
On Tue, Jul 13, 2010 at 3:13 PM, Ivan Čukić <ivan.cukic at kde.org> wrote:
> a.s. This is a cross-post
>
> Hi,
>
> A few notifications and questions.
>
> 1. The ActivityManager (KDED module) now accepts application name/id
> when the application notifies it that it has opened a document (or any
> other type of resource that has an url)
>
> If the name is not specified, KWindowInfo is used to try and get it.
>
> The reason for this is to make it possible to keep track of recently
> opened resources (and all the stats/rating stuff Lukas is working on)
> on a per-application basis.
>
> KActivityConsumer uses QCoreApplication::applicationName() for this,
> so it is done 'behind a curtain'.
>
> 2. Does anyone have objections in automatically linking a resource
> (that the application reports is opened) with the current activity?
> From my point of view, it is something that should be done.
it must be done indeed.
but is it possible to automatically unlink it as well when the window
is detached from the activity?
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list