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
/
widgets
/
sweeptimingwidget.h
diff --git
a/pv/widgets/sweeptimingwidget.h
b/pv/widgets/sweeptimingwidget.h
index c0bcc8f787bfa2efbdad56f0194bdca762cf6964..5510865eb632f28680883c92f56e5f72682a1378 100644
(file)
--- a/
pv/widgets/sweeptimingwidget.h
+++ b/
pv/widgets/sweeptimingwidget.h
@@
-55,16
+55,18
@@
public:
uint64_t value() const;
void set_value(uint64_t value);
uint64_t value() const;
void set_value(uint64_t value);
-
signals
:
+
Q_SIGNALS
:
void value_changed();
private:
void value_changed();
private:
-
QHBoxLayout _layout
;
+
const char *const suffix_
;
- QDoubleSpinBox _value;
- QComboBox _list;
+ QHBoxLayout layout_;
- ValueType _value_type;
+ QDoubleSpinBox value_;
+ QComboBox list_;
+
+ ValueType value_type_;
};
} // widgets
};
} // widgets