diff options
author | Andrej Rode <mail@andrejro.de> | 2018-09-18 10:11:09 -0700 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-10-28 14:08:44 +0100 |
commit | d19c96111ff56501a9b527b1e19dc6b0b9fd2922 (patch) | |
tree | 6029b0da27cd1ea24365017427e04bf486670685 /gr-qtgui/lib/waterfalldisplayform.cc | |
parent | 4544702fbc21b561345c57ca7c40c4e69cfad22f (diff) |
qtgui: SLOT/SIGNALS signed -> unsigned
This finalizes the aspects left out in 1f857d3, when the rest of the
qtgui C++ API handling indices or other explicitly unsigned integers was
converted from signed to unsigned integer.
Diffstat (limited to 'gr-qtgui/lib/waterfalldisplayform.cc')
-rw-r--r-- | gr-qtgui/lib/waterfalldisplayform.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gr-qtgui/lib/waterfalldisplayform.cc b/gr-qtgui/lib/waterfalldisplayform.cc index e599b97d07..4ada967d90 100644 --- a/gr-qtgui/lib/waterfalldisplayform.cc +++ b/gr-qtgui/lib/waterfalldisplayform.cc @@ -66,13 +66,13 @@ WaterfallDisplayForm::WaterfallDisplayForm(int nplots, QWidget* parent) // Now create our own menus for(int i = 0; i < nplots; i++) { ColorMapMenu *colormap = new ColorMapMenu(i, this); - connect(colormap, SIGNAL(whichTrigger(int, const int, const QColor&, const QColor&)), - this, SLOT(setColorMap(int, const int, const QColor&, const QColor&))); + connect(colormap, SIGNAL(whichTrigger(unsigned int, const int, const QColor&, const QColor&)), + this, SLOT(setColorMap(unsigned int, const int, const QColor&, const QColor&))); d_lines_menu[i]->addMenu(colormap); d_marker_alpha_menu.push_back(new MarkerAlphaMenu(i, this)); - connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(int, int)), - this, SLOT(setAlpha(int, int))); + connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(unsigned int, unsigned int)), + this, SLOT(setAlpha(unsigned int, unsigned int))); d_lines_menu[i]->addMenu(d_marker_alpha_menu[i]); } @@ -257,7 +257,7 @@ WaterfallDisplayForm::setColorMap(unsigned int which, } void -WaterfallDisplayForm::setAlpha(unsigned int which, int alpha) +WaterfallDisplayForm::setAlpha(unsigned int which, unsigned int alpha) { getPlot()->setAlpha(which, alpha); getPlot()->replot(); @@ -364,4 +364,3 @@ WaterfallDisplayForm::setUpdateTime(double t) // This is the case when plotting using gr_spectrogram_plot d_time_per_fft = t; } - |