summaryrefslogtreecommitdiff
path: root/gr-qtgui
diff options
context:
space:
mode:
authorTom Rondeau2011-04-24 01:59:10 -0400
committerTom Rondeau2011-04-24 01:59:10 -0400
commit83c1463ef9aa550d8c44cd259cf14dea433e1973 (patch)
treea25de0d371e6630a700254f2f1da2ad674ef4513 /gr-qtgui
parent11de76b9214a59930ac8d8c031880b5bd293973d (diff)
downloadgnuradio-83c1463ef9aa550d8c44cd259cf14dea433e1973.tar.gz
gnuradio-83c1463ef9aa550d8c44cd259cf14dea433e1973.tar.bz2
gnuradio-83c1463ef9aa550d8c44cd259cf14dea433e1973.zip
gr-qtgui: making (somewhat more) consistent case for function names.
Diffstat (limited to 'gr-qtgui')
-rw-r--r--gr-qtgui/lib/qtgui_time_sink_c.cc8
-rw-r--r--gr-qtgui/lib/timedisplayform.cc14
-rw-r--r--gr-qtgui/lib/timedisplayform.h12
3 files changed, 17 insertions, 17 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_c.cc b/gr-qtgui/lib/qtgui_time_sink_c.cc
index a1f0130ba..c011e8297 100644
--- a/gr-qtgui/lib/qtgui_time_sink_c.cc
+++ b/gr-qtgui/lib/qtgui_time_sink_c.cc
@@ -120,26 +120,26 @@ qtgui_time_sink_c::pyqwidget()
void
qtgui_time_sink_c::set_time_domain_axis(double min, double max)
{
- d_main_gui->SetTimeDomainAxis(min, max);
+ d_main_gui->setTimeDomainAxis(min, max);
}
void
qtgui_time_sink_c::set_update_time(double t)
{
d_update_time = t;
- d_main_gui->SetUpdateTime(d_update_time);
+ d_main_gui->setUpdateTime(d_update_time);
}
void
qtgui_time_sink_c::set_title(int which, const std::string &title)
{
- d_main_gui->SetTitle(which, title.c_str());
+ d_main_gui->setTitle(which, title.c_str());
}
void
qtgui_time_sink_c::set_color(int which, const std::string &color)
{
- d_main_gui->SetColor(which, color.c_str());
+ d_main_gui->setColor(which, color.c_str());
}
int
diff --git a/gr-qtgui/lib/timedisplayform.cc b/gr-qtgui/lib/timedisplayform.cc
index c2bb9f75d..cc4ac9951 100644
--- a/gr-qtgui/lib/timedisplayform.cc
+++ b/gr-qtgui/lib/timedisplayform.cc
@@ -45,7 +45,7 @@ TimeDisplayForm::TimeDisplayForm(int nplots, QWidget* parent)
// Create a timer to update plots at the specified rate
displayTimer = new QTimer(this);
- connect(displayTimer, SIGNAL(timeout()), this, SLOT(UpdateGuiTimer()));
+ connect(displayTimer, SIGNAL(timeout()), this, SLOT(updateGuiTimer()));
connect(_timeDomainDisplayPlot, SIGNAL(plotPointSelected(const QPointF)),
this, SLOT(onTimePlotPointSelected(const QPointF)));
@@ -99,7 +99,7 @@ TimeDisplayForm::customEvent( QEvent * e)
}
void
-TimeDisplayForm::UpdateGuiTimer()
+TimeDisplayForm::updateGuiTimer()
{
_timeDomainDisplayPlot->canvas()->update();
}
@@ -111,7 +111,7 @@ TimeDisplayForm::onTimePlotPointSelected(const QPointF p)
}
void
-TimeDisplayForm::SetFrequencyRange(const double newCenterFrequency,
+TimeDisplayForm::setFrequencyRange(const double newCenterFrequency,
const double newStartFrequency,
const double newStopFrequency)
{
@@ -151,13 +151,13 @@ TimeDisplayForm::closeEvent( QCloseEvent *e )
}
void
-TimeDisplayForm::SetTimeDomainAxis(double min, double max)
+TimeDisplayForm::setTimeDomainAxis(double min, double max)
{
_timeDomainDisplayPlot->setYaxis(min, max);
}
void
-TimeDisplayForm::SetUpdateTime(double t)
+TimeDisplayForm::setUpdateTime(double t)
{
d_update_time = t;
// QTimer class takes millisecond input
@@ -165,13 +165,13 @@ TimeDisplayForm::SetUpdateTime(double t)
}
void
-TimeDisplayForm::SetTitle(int which, QString title)
+TimeDisplayForm::setTitle(int which, QString title)
{
_timeDomainDisplayPlot->setTitle(which, title);
}
void
-TimeDisplayForm::SetColor(int which, QString color)
+TimeDisplayForm::setColor(int which, QString color)
{
_timeDomainDisplayPlot->setColor(which, color);
}
diff --git a/gr-qtgui/lib/timedisplayform.h b/gr-qtgui/lib/timedisplayform.h
index 1e2ad601b..1216a1ef5 100644
--- a/gr-qtgui/lib/timedisplayform.h
+++ b/gr-qtgui/lib/timedisplayform.h
@@ -47,21 +47,21 @@ class TimeDisplayForm : public QWidget
public slots:
void resizeEvent( QResizeEvent * e );
void customEvent( QEvent * e );
- void SetFrequencyRange( const double newCenterFrequency,
+ void setFrequencyRange( const double newCenterFrequency,
const double newStartFrequency,
const double newStopFrequency );
void closeEvent( QCloseEvent * e );
- void SetTimeDomainAxis(double min, double max);
+ void setTimeDomainAxis(double min, double max);
- void SetUpdateTime(double t);
+ void setUpdateTime(double t);
- void SetTitle(int which, QString title);
- void SetColor(int which, QString color);
+ void setTitle(int which, QString title);
+ void setColor(int which, QString color);
private slots:
void newData( const TimeUpdateEvent* );
- void UpdateGuiTimer();
+ void updateGuiTimer();
void onTimePlotPointSelected(const QPointF p);