summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:18:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit74b401e24b9b3c9333f6e435860e1bc1f44a3b6f (patch)
tree1f1c022b2d55e7a3c42042987a5c32e3e81b4ac1 /options/base-value.hpp
parent7e07b216d6dddc2bd832bf85e2e5870cd4e48638 (diff)
options/{value,connector}: workaround friend declaration
Diffstat (limited to 'options/base-value.hpp')
-rw-r--r--options/base-value.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/options/base-value.hpp b/options/base-value.hpp
index 14eaeb10..7baff0b3 100644
--- a/options/base-value.hpp
+++ b/options/base-value.hpp
@@ -26,8 +26,6 @@ class OTR_OPTIONS_EXPORT value_ : public QObject
{
Q_OBJECT
- friend class detail::connector;
-
template<typename t>
using signal_sig = void(value_::*)(cv_qualified<t>) const;
@@ -91,10 +89,8 @@ public slots:
OTR_OPTIONS_SLOT(const QList<slider_value>&)
OTR_OPTIONS_SLOT(const QList<QPointF>&)
- virtual void bundle_value_changed() const = 0;
virtual void set_to_default() = 0;
-
- void notify() const;
+ virtual void notify() const = 0;
friend void ::options::detail::set_value_to_default(value_* val);
};