You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
487 B
30 lines
487 B
6 years ago
|
#include "testbackend.h"
|
||
|
|
||
|
TestBackend::TestBackend(QString name, int code, QObject *parent) :
|
||
|
ISettingsAccessor{parent},
|
||
|
_name{std::move(name)},
|
||
|
_code{code}
|
||
|
{}
|
||
|
|
||
|
bool TestBackend::contains(const QString &key) const
|
||
|
{
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
QVariant TestBackend::load(const QString &key, const QVariant &defaultValue) const
|
||
|
{
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
void TestBackend::save(const QString &key, const QVariant &value)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void TestBackend::remove(const QString &key)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void TestBackend::sync()
|
||
|
{
|
||
|
}
|