X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fdouble.h;h=b00adb1439125118720def25a194bfb021cad153;hp=19cbe2c185e99ad0b0e35b3f653fd3c912eae67c;hb=a2b921574b467fd9193d06497bf0ee058e8f7470;hpb=b912c99cb1802b93baec288d4f44819437ee08fa diff --git a/pv/prop/double.h b/pv/prop/double.h index 19cbe2c1..b00adb14 100644 --- a/pv/prop/double.h +++ b/pv/prop/double.h @@ -22,7 +22,6 @@ #define PULSEVIEW_PV_PROP_DOUBLE_H #include -#include #include @@ -39,8 +38,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 +50,6 @@ private: const QString _suffix; const boost::optional< std::pair > _range; const boost::optional _step; - boost::function _getter; - boost::function _setter; QDoubleSpinBox *_spin_box; };