diff options
Diffstat (limited to 'sigmodr/PointWidget.cpp')
| -rw-r--r-- | sigmodr/PointWidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sigmodr/PointWidget.cpp b/sigmodr/PointWidget.cpp index 82168925..9153160d 100644 --- a/sigmodr/PointWidget.cpp +++ b/sigmodr/PointWidget.cpp @@ -18,19 +18,19 @@ // Header include #include "PointWidget.h" -Pokemodr::PointWidget::PointWidget(QWidget* parent, const QPoint& value) : +Sigmodr::PointWidget::PointWidget(QWidget* parent, const QPoint& value) : QWidget(parent), m_value(value) { setupUi(this); } -QPoint Pokemodr::PointWidget::value() const +QPoint Sigmodr::PointWidget::value() const { return m_value; } -void Pokemodr::PointWidget::setValue(const QPoint& value) +void Sigmodr::PointWidget::setValue(const QPoint& value) { if (m_value == value) return; @@ -40,19 +40,19 @@ void Pokemodr::PointWidget::setValue(const QPoint& value) emit(valueChanged(m_value)); } -void Pokemodr::PointWidget::setMaximum(const QPoint& maximum) +void Sigmodr::PointWidget::setMaximum(const QPoint& maximum) { varX->setMaximum(maximum.x()); varY->setMaximum(maximum.y()); } -void Pokemodr::PointWidget::on_varX_valueChanged(const int x) +void Sigmodr::PointWidget::on_varX_valueChanged(const int x) { m_value.setX(x); emit(valueChanged(m_value)); } -void Pokemodr::PointWidget::on_varY_valueChanged(const int y) +void Sigmodr::PointWidget::on_varY_valueChanged(const int y) { m_value.setY(y); emit(valueChanged(m_value)); |
