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/displayform.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/displayform.cc')
-rw-r--r-- | gr-qtgui/lib/displayform.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gr-qtgui/lib/displayform.cc b/gr-qtgui/lib/displayform.cc index d8129551b1..4f65fe47f8 100644 --- a/gr-qtgui/lib/displayform.cc +++ b/gr-qtgui/lib/displayform.cc @@ -76,32 +76,32 @@ DisplayForm::DisplayForm(int nplots, QWidget* parent) d_line_marker_menu.push_back(new LineMarkerMenu(i, this)); d_marker_alpha_menu.push_back(new MarkerAlphaMenu(i, this)); - connect(d_line_title_act[i], SIGNAL(whichTrigger(int, const QString&)), - this, SLOT(setLineLabel(int, const QString&))); + connect(d_line_title_act[i], SIGNAL(whichTrigger(unsigned int, const QString&)), + this, SLOT(setLineLabel(unsigned int, const QString&))); for(int j = 0; j < d_line_color_menu[i]->getNumActions(); j++) { - connect(d_line_color_menu[i], SIGNAL(whichTrigger(int, const QString&)), - this, SLOT(setLineColor(int, const QString&))); + connect(d_line_color_menu[i], SIGNAL(whichTrigger(unsigned int, const QString&)), + this, SLOT(setLineColor(unsigned int, const QString&))); } for(int j = 0; j < d_line_width_menu[i]->getNumActions(); j++) { - connect(d_line_width_menu[i], SIGNAL(whichTrigger(int, int)), - this, SLOT(setLineWidth(int, int))); + connect(d_line_width_menu[i], SIGNAL(whichTrigger(unsigned int, unsigned int)), + this, SLOT(setLineWidth(unsigned int, unsigned int))); } for(int j = 0; j < d_line_style_menu[i]->getNumActions(); j++) { - connect(d_line_style_menu[i], SIGNAL(whichTrigger(int, Qt::PenStyle)), - this, SLOT(setLineStyle(int, Qt::PenStyle))); + connect(d_line_style_menu[i], SIGNAL(whichTrigger(unsigned int, Qt::PenStyle)), + this, SLOT(setLineStyle(unsigned int, Qt::PenStyle))); } for(int j = 0; j < d_line_marker_menu[i]->getNumActions(); j++) { - connect(d_line_marker_menu[i], SIGNAL(whichTrigger(int, QwtSymbol::Style)), - this, SLOT(setLineMarker(int, QwtSymbol::Style))); + connect(d_line_marker_menu[i], SIGNAL(whichTrigger(unsigned int, QwtSymbol::Style)), + this, SLOT(setLineMarker(unsigned int, QwtSymbol::Style))); } for(int j = 0; j < d_marker_alpha_menu[i]->getNumActions(); j++) { - connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(int, int)), - this, SLOT(setMarkerAlpha(int, int))); + connect(d_marker_alpha_menu[i], SIGNAL(whichTrigger(unsigned int, unsigned int)), + this, SLOT(setMarkerAlpha(unsigned int, unsigned int))); } d_lines_menu.push_back(new QMenu(tr(""), this)); @@ -233,7 +233,7 @@ DisplayForm::setLineColor(unsigned int which, const QString &color) } void -DisplayForm::setLineWidth(unsigned int which, int width) +DisplayForm::setLineWidth(unsigned int which, unsigned int width) { d_display_plot->setLineWidth(which, width); d_display_plot->replot(); @@ -254,7 +254,7 @@ DisplayForm::setLineMarker(unsigned int which, QwtSymbol::Style marker) } void -DisplayForm::setMarkerAlpha(unsigned int which, int alpha) +DisplayForm::setMarkerAlpha(unsigned int which, unsigned int alpha) { d_display_plot->setMarkerAlpha(which, alpha); d_display_plot->replot(); |