summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-26 22:52:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:05:21 +0200
commitee0dd3b6d5ad2b6083372f4e4f0cb57a45aaaff2 (patch)
treedc9374f588200a53a4c2ef556293e176cec97975 /options/base-value.cpp
parenta131d0850c731b6b564e493db7148267ceea7e8b (diff)
options/base-value: rename to `value_'
Diffstat (limited to 'options/base-value.cpp')
-rw-r--r--options/base-value.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/options/base-value.cpp b/options/base-value.cpp
index 6c287321..dbeabbea 100644
--- a/options/base-value.cpp
+++ b/options/base-value.cpp
@@ -2,7 +2,7 @@
using namespace options;
-base_value::base_value(bundle b, const QString& name, base_value::comparator cmp, std::type_index type_idx) :
+value_::value_(bundle b, const QString& name, value_::comparator cmp, std::type_index type_idx) :
b(b),
self_name(name),
cmp(cmp),
@@ -11,17 +11,17 @@ base_value::base_value(bundle b, const QString& name, base_value::comparator cmp
b->on_value_created(name, this);
}
-base_value::~base_value()
+value_::~value_()
{
b->on_value_destructed(self_name, this);
}
-void base_value::notify() const
+void value_::notify() const
{
bundle_value_changed();
}
-void base_value::store(const QVariant& datum)
+void value_::store(const QVariant& datum)
{
b->store_kv(self_name, datum);
}
@@ -29,7 +29,7 @@ void base_value::store(const QVariant& datum)
namespace options {
namespace detail {
-void set_base_value_to_default(base_value* val)
+void set_base_value_to_default(value_* val)
{
val->set_to_default();
}