X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fdouble.h;h=6b6275c10effd429085e2c619d3624dbbffbf9c2;hp=19cbe2c185e99ad0b0e35b3f653fd3c912eae67c;hb=9b25892767cee1d871ac18beb025033e905b28ae;hpb=2db7704ab7ca681917b0eb091ea49378fe18c4a8 diff --git a/pv/prop/double.h b/pv/prop/double.h index 19cbe2c1..6b6275c1 100644 --- a/pv/prop/double.h +++ b/pv/prop/double.h @@ -39,8 +39,8 @@ public: Double(QString name, int decimals, QString suffix, boost::optional< std::pair > range, boost::optional step, - boost::function getter, - boost::function setter); + Getter getter, + Setter setter); QWidget* get_widget(QWidget *parent); @@ -51,8 +51,6 @@ private: const QString _suffix; const boost::optional< std::pair > _range; const boost::optional _step; - boost::function _getter; - boost::function _setter; QDoubleSpinBox *_spin_box; };