The KDE Community

KActivitiesStats

Library to access the usage statistics data collected by the KDE activity manager.

KActivitiesStats Introduction

The KActivitiesStats library provides a querying mechanism for the data that the activitiy manager collects - which documents hae been opened by which applications, and what documents have been linked to which activity. The activity manager also keeps the score for each document which gets higher when a particular document has been often accessed or kept open for longer periods of time. This score is also available through the querying mechanism.

KActivitiesStats Usage

The library provides the following important classes:

  • KActivities::Stats::ResultSet is a low level class that provides a forward iterator to the list of results that match the specified query
  • KActivities::Stats::ResultWatcher provides signals when a new resource that matches a query arrives, or when an existing one is gone (usage statistics cleared or some for other reason)
  • KActivities::Stats::ResultModel provides a Qt data model that shows the resources that match the specified query. This model should be subclassed to teach it to handle the different resource types that you want to show as the results.

Queries are defined by the KActivities::Stats::Query class using a simple range-like syntax.

By clicking button above, I agree Marketplace user terms and conditions

Details
Version:
5.62.0
Publisher:
The KDE Community
Contact:
kde-devel@kde.org
Copyright:
The KDE Community
Authors:
KDE Community
From:
https://api.kde.org/frameworks/index.html
License:
LGPL v2.1+
Created at:
2013-09-26
Updated at:
2019-09-14
Platforms:
Linux
Supported Qt versions:
5.0 or newer
Support:
kde-devel@kde.org
Packages:
http://download.kde.org/stable/frameworks/5.62/kactivities-stats-5.62.0.tar.xz
Source repository:
https://projects.kde.org/projects/frameworks/kactivities-stats/repository