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
/
colourpopup.cpp
diff --git
a/pv/widgets/colourpopup.cpp
b/pv/widgets/colourpopup.cpp
index 816a4c50b95c773b89df1d86893cbf5bbe247d58..285e9a050ae300adcce7228a8e69056c0769eb68 100644
(file)
--- a/
pv/widgets/colourpopup.cpp
+++ b/
pv/widgets/colourpopup.cpp
@@
-25,21
+25,21
@@
namespace widgets {
ColourPopup::ColourPopup(int rows, int cols, QWidget *parent) :
Popup(parent),
ColourPopup::ColourPopup(int rows, int cols, QWidget *parent) :
Popup(parent),
-
_well_array
(rows, cols, this),
-
_layout
(this)
+
well_array_
(rows, cols, this),
+
layout_
(this)
{
{
-
_layout.addWidget(&_well_array
);
- setLayout(&
_layout
);
+
layout_.addWidget(&well_array_
);
+ setLayout(&
layout_
);
- connect(&
_well_array
, SIGNAL(selected(int, int)),
+ connect(&
well_array_
, SIGNAL(selected(int, int)),
this, SIGNAL(selected(int, int)));
this, SIGNAL(selected(int, int)));
- connect(&
_well_array
, SIGNAL(selected(int, int)),
+ connect(&
well_array_
, SIGNAL(selected(int, int)),
this, SLOT(colour_selected(int, int)));
}
QWellArray& ColourPopup::well_array()
{
this, SLOT(colour_selected(int, int)));
}
QWellArray& ColourPopup::well_array()
{
- return
_well_array
;
+ return
well_array_
;
}
void ColourPopup::colour_selected(int, int)
}
void ColourPopup::colour_selected(int, int)