diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
| commit | 60a2ed8ee8aa994c83d382af2ec477e171beb950 (patch) | |
| tree | 6fea6867adee00f22b9d775a6dce15ed875d75e6 /pokemodr/PointWidget.cpp | |
| parent | 0737b455ca94351c574aa1a8c83ea30c5b7bc443 (diff) | |
| download | sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.gz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.xz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.zip | |
[FIX] All modules now use their own namespace
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/PointWidget.cpp')
| -rw-r--r-- | pokemodr/PointWidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pokemodr/PointWidget.cpp b/pokemodr/PointWidget.cpp index 0bcb7ad9..47209153 100644 --- a/pokemodr/PointWidget.cpp +++ b/pokemodr/PointWidget.cpp @@ -18,19 +18,19 @@ // Header include #include "PointWidget.h" -PointWidget::PointWidget(QWidget* parent, const Point& value) : +Pokemodr::PointWidget::PointWidget(QWidget* parent, const Pokemod::Point& value) : QWidget(parent), m_value(value) { setupUi(this); } -Point PointWidget::value() const +Pokemod::Point Pokemodr::PointWidget::value() const { return m_value; } -void PointWidget::setValue(const Point& value) +void Pokemodr::PointWidget::setValue(const Pokemod::Point& value) { if (m_value == value) return; @@ -40,19 +40,19 @@ void PointWidget::setValue(const Point& value) emit(valueChanged(true)); } -void PointWidget::setMaximum(const Point& maximum) +void Pokemodr::PointWidget::setMaximum(const Pokemod::Point& maximum) { varX->setMaximum(maximum.x()); varY->setMaximum(maximum.y()); } -void PointWidget::on_varX_valueChanged(const int& x) +void Pokemodr::PointWidget::on_varX_valueChanged(const int x) { m_value.setX(x); emit(valueChanged(true)); } -void PointWidget::on_varY_valueChanged(const int& y) +void Pokemodr::PointWidget::on_varY_valueChanged(const int y) { m_value.setY(y); emit(valueChanged(true)); |
