projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.gitignore: Ignore QtCreator generated files.
[pulseview.git]
/
pv
/
prop
/
property.h
diff --git
a/pv/prop/property.h
b/pv/prop/property.h
index 22e211b1936905146d5d80118a2756dc5859b7da..0d1b53160ca2381997ce5aa621b6b8dcd47a30d3 100644
(file)
--- 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
#ifndef PULSEVIEW_PV_PROP_PROPERTY_H
#define PULSEVIEW_PV_PROP_PROPERTY_H
-#include <glib-2.0/glib.h>
-
-#include <boost/function.hpp>
+#include <glibmm-2.4/glibmm.h>
+#include <functional>
#include <QString>
#include <QWidget>
#include <QString>
#include <QWidget>
@@
-38,8
+37,8
@@
class Property : public QObject
Q_OBJECT;
public:
Q_OBJECT;
public:
- typedef
boost::function<GVariant*
()> Getter;
- typedef
boost::function<void (GVariant*
)> Setter;
+ typedef
std::function<Glib::VariantBase
()> Getter;
+ typedef
std::function<void (Glib::VariantBase
)> Setter;
protected:
Property(QString name, Getter getter, Setter setter);
protected:
Property(QString name, Getter getter, Setter setter);