Commit Graph

9 Commits

Author SHA1 Message Date
79d15fb628 Introduce EntryType. Retire userEntry boolean
Introduce EntryType, allowing to distnguish between:

- inherietd entries: Those inherit their values from
other entries, typcally system entries. They do not
allow overwriting the value, except row/col.
- system entries: those not created by the user in any way,
usually .desktop files in /usr/share/applications/...
- user entries: those that have been created by the user.
they can however also inherit, and overwrite inherited values.

inherited are used for the "favourites" feature.
2020-10-04 21:48:35 +02:00
f9eff3b5b2 implement deletion of entries 2020-10-04 21:48:35 +02:00
7bae1183c6 EnrtyConfig: store iconPath, not QIcon. Keeps icon after rearranging entries 2020-10-04 21:48:35 +02:00
f06e9a4f7b EntryConfig: Also store 'inherit' key. Needed to save entry later. 2020-09-28 19:07:26 +02:00
27ac3155d3 EntryConfig: Introduce (dirty) way to distinguish between user/system entries 2020-09-28 19:07:26 +02:00
edb781580e EntryProvider: Introduce readEntryFromPath()
Inheritance: Use readEntryFromPath instead of assuming always .desktop
files

Switch project to C++17
2020-09-06 22:24:39 +02:00
36b6390292 Implement NoDisplay= of .desktop entries
Closes #9
2020-09-06 22:09:02 +02:00
560e15d48d implement inheritance keyword for .qsrun entries 2020-09-06 21:37:15 +02:00
f03e247bd8 merge configreader/configprovider into entryprovider
settings-related methods that don't have any relation
to entries will be moved to a seperate file
settingsprovider
2020-09-06 19:40:46 +02:00