用户可通过该项目访问 KDE 活动管理器收集的使用统计数据。它提供查询机制,能获取文档访问记录、活动关联及文档评分,包含 ResultSet、ResultWatcher 和 ResultModel 等核心类,支持结果迭代、变更监听与数据模型展示。【此简介由AI生成】
Access rate limit exceeded. Please log in to continue.
KActivitiesStats
Library to access the usage statistics data collected by the KDE activity manager.
Introduction
The KActivitiesStats library provides a querying mechanism for the data that the activity 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.
Usage
The library provides the following important classes:
KActivities::Stats::ResultSetis a low level class that provides a forward iterator to the list of results that match the specified queryKActivities::Stats::ResultWatcherprovides 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::ResultModelprovides 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.
Introduction
用户可通过该项目访问 KDE 活动管理器收集的使用统计数据。它提供查询机制,能获取文档访问记录、活动关联及文档评分,包含 ResultSet、ResultWatcher 和 ResultModel 等核心类,支持结果迭代、变更监听与数据模型展示。【此简介由AI生成】
Customize your domain