diff options
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 |