X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fproperty.hpp;h=765cbb50d8bb7e629a6ee1164507ccd9cd9b1ae3;hp=6a4dd9ab2723156171cd04a23283b5f3ffd3434f;hb=aca9aa834c742ba70f49d1ac3eb2d1e02e759416;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/prop/property.hpp b/pv/prop/property.hpp index 6a4dd9a..765cbb5 100644 --- a/pv/prop/property.hpp +++ b/pv/prop/property.hpp @@ -27,9 +27,12 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS G_GNUC_END_IGNORE_DEPRECATIONS #include + #include #include +using std::function; + class QWidget; namespace pv { @@ -40,8 +43,8 @@ class Property : public QObject Q_OBJECT; public: - typedef std::function Getter; - typedef std::function Setter; + typedef function Getter; + typedef function Setter; protected: Property(QString name, Getter getter, Setter setter); @@ -63,7 +66,7 @@ private: QString name_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_PROPERTY_HPP