projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consistenty use auto-generated namespace comments.
[pulseview.git]
/
pv
/
prop
/
property.hpp
diff --git
a/pv/prop/property.hpp
b/pv/prop/property.hpp
index 6a4dd9ab2723156171cd04a23283b5f3ffd3434f..7e547dec5a43444a9a5751b39ea9178b1a12a29a 100644
(file)
--- a/
pv/prop/property.hpp
+++ b/
pv/prop/property.hpp
@@
-30,6
+30,8
@@
G_GNUC_END_IGNORE_DEPRECATIONS
#include <QString>
#include <QWidget>
#include <QString>
#include <QWidget>
+using std::function;
+
class QWidget;
namespace pv {
class QWidget;
namespace pv {
@@
-40,8
+42,8
@@
class Property : public QObject
Q_OBJECT;
public:
Q_OBJECT;
public:
- typedef
std::
function<Glib::VariantBase ()> Getter;
- typedef
std::
function<void (Glib::VariantBase)> Setter;
+ typedef function<Glib::VariantBase ()> Getter;
+ typedef function<void (Glib::VariantBase)> Setter;
protected:
Property(QString name, Getter getter, Setter setter);
protected:
Property(QString name, Getter getter, Setter setter);
@@
-63,7
+65,7
@@
private:
QString name_;
};
QString name_;
};
-}
//
prop
-}
//
pv
+}
// namespace
prop
+}
// namespace
pv
#endif // PULSEVIEW_PV_PROP_PROPERTY_HPP
#endif // PULSEVIEW_PV_PROP_PROPERTY_HPP