Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::test_helpers::InMemorySettingsBackend Class Reference

Simple in-memory ISettingsBackend that stores values in a hash map. More...

#include <tests/helpers/in_memory_settings_backend.h>

Inheritance diagram for zrythm::test_helpers::InMemorySettingsBackend:
Collaboration diagram for zrythm::test_helpers::InMemorySettingsBackend:

Public Member Functions

QVariant value (QAnyStringView key, const QVariant &defaultValue) const override
void setValue (QAnyStringView key, const QVariant &val) override

Detailed Description

Simple in-memory ISettingsBackend that stores values in a hash map.

Definition at line 16 of file in_memory_settings_backend.h.

Member Function Documentation

◆ setValue()

void zrythm::test_helpers::InMemorySettingsBackend::setValue ( QAnyStringView key,
const QVariant & val )
inlineoverridevirtual

Implements zrythm::utils::ISettingsBackend.

Definition at line 26 of file in_memory_settings_backend.h.

◆ value()

QVariant zrythm::test_helpers::InMemorySettingsBackend::value ( QAnyStringView key,
const QVariant & defaultValue ) const
inlineoverridevirtual

Implements zrythm::utils::ISettingsBackend.

Definition at line 20 of file in_memory_settings_backend.h.


The documentation for this class was generated from the following file: