PresetStore

Folder-based persistence for Preset files.

Declared in src/libs/libfixo/fixo/preset/PresetStore.hpp
Inherits QObject
Group fixo

Detailed description

PresetStore keeps one JSON file per preset in a single directory, named <name>.preset. It also reads legacy <name>.fixo files in the same directory; when both exist for one name, the .preset file wins. A file that does not parse as a valid preset is skipped.

The fixo Library creates its PresetStore over the presets folder of its custom directory and owns it as a QObject child. PresetBook wraps the store for the generic book UI. Every call that writes or deletes a preset file emits presetsChanged().

See also Preset, Library.

In this section