summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/displayform.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/displayform.cc')
-rw-r--r--gr-qtgui/lib/displayform.cc28
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();