diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 06:02:14 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:49:13 +0100 |
commit | 1e04979c3452d4eac633677876a88f9411a1153d (patch) | |
tree | 99a126a9d2647fd25a8ef2adbab6bb84f2c97dfb /options/base-value.hpp | |
parent | 03d28dde1635e36508cff1f9eabc265cdb5febb9 (diff) |
cruft only
Diffstat (limited to 'options/base-value.hpp')
-rw-r--r-- | options/base-value.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/options/base-value.hpp b/options/base-value.hpp index 7a3ac420..240cc6b7 100644 --- a/options/base-value.hpp +++ b/options/base-value.hpp @@ -63,7 +63,8 @@ protected: bundle b; QString self_name; - virtual void store_variant(const QVariant& x) noexcept = 0; + virtual void store_variant(QVariant&&) noexcept = 0; + virtual void store_variant(const QVariant&) noexcept = 0; template<typename t> void store_(const t& datum) @@ -89,10 +90,9 @@ public slots: OTR_OPTIONS_SLOT(const QList<slider_value>&) OTR_OPTIONS_SLOT(const QList<QPointF>&) - virtual void set_to_default() = 0; + virtual void set_to_default() noexcept = 0; virtual void notify() const = 0; - - friend void ::options::detail::set_value_to_default(value_* val); + virtual QVariant get_variant() const noexcept = 0; }; } //ns options |