[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Activities service in KDEreview
From:       Ivan =?utf-8?q?=C4=8Cuki=C4=87?= <ivan.cukic () gmail ! com>
Date:       2009-11-02 17:33:08
Message-ID: 200911021833.08387.ivan.cukic () gmail ! com
[Download RAW message or body]

Updated version in kdereview - it uses nepomuk in a much better way.

Since the ontology is not yet written, it uses a dummy link
http://www.kde.org/ontologies/activities#Activity
which can later be changed or made to redirect to a real rdf.

If anyone (Sebastian) has a better idea for the url, please speak.

I have a question, though. Since (per Sebastian's suggestion), the current 
activity id is stored inside the configuration file, and not inside nepomuk, 
is there a better way of getting the configuration group for a nepomuk service 
than doing it manually:

KConfig config(KStandardDirs::locate("config", "nepomukserverrc"));
KConfigGroup configGroup = config.group("Service-nepomukactivitiesservice");
m_currentActivityId = configGroup.readEntry("currentActivityId", QString());

Cheerio!
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic