Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
LICENSES/ | H | 03-May-2022 | - | |||
autotests/ | H | 03-May-2022 | - | 2,180 | 1,567 | |
src/ | H | 03-May-2022 | - | 5,136 | 3,361 | |
tests/model/ | H | 03-May-2022 | - | 1,030 | 871 | |
.git-blame-ignore-revs | H A D | 04-Dec-2021 | 142 | 5 | 4 | |
.gitignore | H A D | 04-Dec-2021 | 254 | 25 | 24 | |
.gitlab-ci.yml | H A D | 04-Dec-2021 | 284 | 7 | 5 | |
.kde-ci.yml | H A D | 04-Dec-2021 | 182 | 9 | 7 | |
.vim-template:cpp | H A D | 04-Dec-2021 | 272 | 17 | 10 | |
.vim-template:h | H A D | 04-Dec-2021 | 357 | 20 | 12 | |
KF5ActivitiesStatsConfig.cmake.in | H A D | 04-Dec-2021 | 203 | 8 | 5 | |
MAINTAINER | H A D | 04-Dec-2021 | 77 | 4 | 1 | |
README.developers | H A D | 04-Dec-2021 | 794 | 30 | 17 | |
README.md | H A D | 04-Dec-2021 | 1.3 KiB | 30 | 21 | |
TODO | H A D | 04-Dec-2021 | 891 | 26 | 20 | |
metainfo.yaml | H A D | 04-Dec-2021 | 486 | 21 | 19 | |
vim-extrarc | H A D | 04-Dec-2021 | 395 | 13 | 7 |
README.developers
1 2# Commit policy 3 4Every non-trivial patch must go through the review before it goes into the 5master branch. 6 7 https://phabricator.kde.org/ 8 project: KActivities 9 10If you don't have an account for identity.kde.org, you can send smaller 11patches to the plasma-devel@kde.org mailing list, or (please don't) directly 12to the repository maintainer (see MAINTAINER file). 13 14 15# Code policy 16 17The code needs to follow KDElibs coding style. You can find more information 18about the style here: 19 20 http://techbase.kde.org/Policies/Kdelibs_Coding_Style 21 22Macros in CMakeLists.txt should be lowercase throughout the project, 23and indentation should be 3, with the closing parenthesis in the same level 24as the content. 25 26Check out the KF5 policies: 27 28 https://community.kde.org/Frameworks/Policies 29 30
README.md
1# KActivitiesStats 2 3Library to access the usage statistics data collected by the KDE activity manager. 4 5## Introduction 6 7The KActivitiesStats library provides a querying mechanism for the data 8that the activity manager collects - which documents hae been opened by 9which applications, and what documents have been linked to which activity. 10The activity manager also keeps the score for each document which gets 11higher when a particular document has been often accessed or kept open 12for longer periods of time. This score is also available through the 13querying mechanism. 14 15## Usage 16 17The library provides the following important classes: 18 19- `KActivities::Stats::ResultSet` is a low level class that provides a forward iterator to the 20 list of results that match the specified query 21- `KActivities::Stats::ResultWatcher` provides signals when a new resource that matches a query 22 arrives, or when an existing one is gone (usage statistics cleared or some 23 for other reason) 24- `KActivities::Stats::ResultModel` provides a Qt data model that shows the resources that 25 match the specified query. This model should be subclassed to teach it 26 to handle the different resource types that you want to show as the results. 27 28Queries are defined by the `KActivities::Stats::Query` class using a simple range-like syntax. 29 30