1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<!--
# SPDX-FileCopyrightText: 2021 Alexander Potashev <aspotashev@gmail.com>
# SPDX-FileCopyrightText: 2024 Thiago Masato Costa Sueto <thiago.sueto@kde.org>
# SPDX-License-Identifier: CC-BY-SA-4.0
-->
# KTimeTracker

[KTimeTracker](https://apps.kde.org/ktimetracker/) tracks time spent on various tasks. It is useful for tracking hours to be billed to different clients or just to find out what percentage of your day is spent playing Doom or reading Slashdot.
You can install KTimeTracker on Linux via [Discover](appstream://org.kde.ktimetracker.desktop) or as a [Flatpak on Flathub](https://flathub.org/apps/org.kde.ktimetracker).
For developers and bug reporters we provide [Flatpak Nightlies](https://cdn.kde.org/flatpak/ktimetracker-nightly/org.kde.ktimetracker.flatpakref).
<a href='https://flathub.org/apps/org.kde.ktimetracker'><img width='150' alt='Download on Flathub' src='https://flathub.org/api/badge?locale=en'/></a>
The last Windows build for KTimeTracker before the port for Qt6 can be downloaded [here](https://invent.kde.org/pim/ktimetracker/-/jobs/1629409/artifacts/file/.kde-ci-packages/ktimetracker-kf5-265-windows-cl-msvc2019-x86_64.exe) ([full file list and checksum](https://invent.kde.org/pim/ktimetracker/-/jobs/1629409/artifacts/browse/.kde-ci-packages/))
If you'd like to contribute to KTimeTracker, see [CONTRIBUTING.md](CONTRIBUTING.md).
## Structure
* [src/dialogs/](src/dialogs): dialogs used for small tasks (creating tasks, editing time, history, export)
* [src/export/](src/export): the logic for exporting backup copies in multiple formats
* [src/file/](src/file): the main session file in `~/.local/share/ktimetracker/ktimetracker.ics`
* [src/import/](src/import): used to import GNOME Planner files
* [src/model/](src/model): the base for events/tasks/projects
* [src/settings/](src/settings): the Settings dialog, as well as the KConfigXT files
* [src/widgets/](src/widgets): specialized widgets (search bar, percent progress bar, context menus)
The `kf5` branch includes the latest Qt5 version. It will no longer receive updates.
The `master` branch includes the latest Qt6 version. It does not have a Windows build.
## Building
The easiest way to make changes and test KTimeTracker during development is to build it with [kdesrc-build](https://community.kde.org/Get_Involved/development/Build_software_with_kdesrc-build).
To build it as a standalone app:
```bash
cmake -B build/ -DCMAKE_INSTALL_PREFIX=$HOME/kde/usr
cmake --build build/
cmake --install build/
```
Use `-DBUILD_TESTING=ON` to enable tests.
## Credits
KTimeTracker was originaly written by Sirtaj Singh Kang and named KArm. The word "karm" means "work" in the author's native Punjabi.
KTimeTracker was inspired by Harald Tveit Alvestrand's very useful utility called titrax; we added some eyecandy and functionality like subtasks.
|