X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fproperty.h;h=dd6d25bad37460d4e1fe9bac6992366a42933907;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=22e211b1936905146d5d80118a2756dc5859b7da;hpb=b1fe148e0dce6e369c9d4770ca935a6a9ec94b59;p=pulseview.git diff --git a/pv/prop/property.h b/pv/prop/property.h index 22e211b..dd6d25b 100644 --- a/pv/prop/property.h +++ b/pv/prop/property.h @@ -21,10 +21,9 @@ #ifndef PULSEVIEW_PV_PROP_PROPERTY_H #define PULSEVIEW_PV_PROP_PROPERTY_H -#include - -#include +#include +#include #include #include @@ -38,8 +37,8 @@ class Property : public QObject Q_OBJECT; public: - typedef boost::function Getter; - typedef boost::function Setter; + typedef std::function Getter; + typedef std::function Setter; protected: Property(QString name, Getter getter, Setter setter); @@ -54,11 +53,11 @@ public: virtual void commit() = 0; protected: - const Getter _getter; - const Setter _setter; + const Getter getter_; + const Setter setter_; private: - QString _name; + QString name_; }; } // prop