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
/
view
/
trace.h
diff --git
a/pv/view/trace.h
b/pv/view/trace.h
index ef327edb29a0207fb660c7b915f46b23487573f9..f99e01aa74e1d782f1d73b1a5034a654f0dfdf27 100644
(file)
--- a/
pv/view/trace.h
+++ b/
pv/view/trace.h
@@
-56,7
+56,7
@@
public:
/**
* Gets the name of this signal.
*/
/**
* Gets the name of this signal.
*/
- QString
get_
name() const;
+ QString name() const;
/**
* Sets the name of the signal.
/**
* Sets the name of the signal.
@@
-66,7
+66,7
@@
public:
/**
* Get the colour of the signal.
*/
/**
* Get the colour of the signal.
*/
- QColor
get_
colour() const;
+ QColor colour() const;
/**
* Set the colour of the signal.
/**
* Set the colour of the signal.
@@
-92,7
+92,7
@@
public:
* area.
* @return Returns the rectangle of the signal label.
*/
* area.
* @return Returns the rectangle of the signal label.
*/
- QRectF label_rect(int right);
+ QRectF label_rect(int right)
const
;
protected:
protected:
@@
-126,18
+126,13
@@
private Q_SLOTS:
void on_popup_closed();
void on_popup_closed();
-Q_SIGNALS:
- void visibility_changed();
- void text_changed();
- void colour_changed();
-
protected:
protected:
- QString
_name
;
- QColor
_colour
;
+ QString
name_
;
+ QColor
colour_
;
private:
private:
- pv::widgets::Popup *
_popup
;
- QFormLayout *
_popup_form
;
+ pv::widgets::Popup *
popup_
;
+ QFormLayout *
popup_form_
;
};
} // namespace view
};
} // namespace view