projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make member variable underscores a suffix instead of a prefix
[pulseview.git]
/
pv
/
prop
/
property.h
diff --git
a/pv/prop/property.h
b/pv/prop/property.h
index b3aa1a690b00c3e29e74140317169bc5b2ac195e..dd6d25bad37460d4e1fe9bac6992366a42933907 100644
(file)
--- a/
pv/prop/property.h
+++ b/
pv/prop/property.h
@@
-21,7
+21,7
@@
#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.h>
+#include <glib
mm-2.4/glibmm
.h>
#include <functional>
#include <QString>
#include <functional>
#include <QString>
@@
-37,8
+37,8
@@
class Property : public QObject
Q_OBJECT;
public:
Q_OBJECT;
public:
- typedef std::function<G
Variant*
()> Getter;
- typedef std::function<void (G
Variant*
)> Setter;
+ typedef std::function<G
lib::VariantBase
()> Getter;
+ typedef std::function<void (G
lib::VariantBase
)> Setter;
protected:
Property(QString name, Getter getter, Setter setter);
protected:
Property(QString name, Getter getter, Setter setter);
@@
-53,11
+53,11
@@
public:
virtual void commit() = 0;
protected:
virtual void commit() = 0;
protected:
- const Getter
_getter
;
- const Setter
_setter
;
+ const Getter
getter_
;
+ const Setter
setter_
;
private:
private:
- QString
_name
;
+ QString
name_
;
};
} // prop
};
} // prop