QZeitgeist and Phonon

Ivan Cukic ivan.cukic at kde.org
Tue Mar 8 08:53:33 GMT 2011


Hi all,

First of all, one thing to mention - KDE apps are not advised to use 
QtZeitgeist directly because that way the 'tracking' has no idea about the 
activities.

File/resource tracking (and thus rating) should be per activity - as an 
example, there is no point in showing java docs that you used in 
'Developing J2EE application' activity in a 'KDE development activity'.

The classes that should be used are KActivity* which will soon enter 
kdelibs/experimental.

The activity manager (the dbus service behind KActivity classes) will have 
both Zeitgeist and Nepomuk as backends. (both as optional deps)

---

Zeitgeist vs Nepomuk

Sebastian concluded that storing all the events in Nepomuk wouldn't be 
wise, so it was agreed to store them in Zeitgeist which was designed with 
that sole purpose.

My current intention is the following (for the activity manager)
  - Store all events in Zeitgeist making it possible to have more advanced
    queries like 'files opened last week between tue and sat in the
    ewening'
  - Store only per-activity scores in nepomuk making it possible to have
    'which are the most common files opened in kate during some activity'

After this, we can do all kinds of magic even if not both Z and N are 
running.

Cheerio,
Ivan



-- 
So remember when you're feeling very small and insecure
How amazingly unlikely is your birth
And pray that there's intelligent life somewhere up in space
Because there's bugger all down here on earth.
    -- Monty Python





More information about the kde-core-devel mailing list