summaryrefslogtreecommitdiffstats
path: root/pokemodr/MapWildListUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-06-09 00:50:59 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-06-09 00:50:59 +0000
commit60a2ed8ee8aa994c83d382af2ec477e171beb950 (patch)
tree6fea6867adee00f22b9d775a6dce15ed875d75e6 /pokemodr/MapWildListUI.cpp
parent0737b455ca94351c574aa1a8c83ea30c5b7bc443 (diff)
downloadsigen-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/MapWildListUI.cpp')
-rw-r--r--pokemodr/MapWildListUI.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/pokemodr/MapWildListUI.cpp b/pokemodr/MapWildListUI.cpp
index 462a1716..fd1b6e4d 100644
--- a/pokemodr/MapWildListUI.cpp
+++ b/pokemodr/MapWildListUI.cpp
@@ -21,36 +21,36 @@
// Pokemod includes
#include "../pokemod/MapWildList.h"
-MapWildListUI::MapWildListUI(MapWildList* wildList, QWidget* parent) :
+Pokemodr::MapWildListUI::MapWildListUI(Pokemod::MapWildList* wildList, QWidget* parent) :
ObjectUI(parent)
{
setupUi(this);
- setObjects(wildList, new MapWildList(*wildList));
+ setObjects(wildList, new Pokemod::MapWildList(*wildList));
}
-MapWildListUI::~MapWildListUI()
+Pokemodr::MapWildListUI::~MapWildListUI()
{
}
-void MapWildListUI::setGui()
+void Pokemodr::MapWildListUI::setGui()
{
- varName->setText(static_cast<MapWildList*>(modified())->name());
+ varName->setText(static_cast<Pokemod::MapWildList*>(modified())->name());
}
-void MapWildListUI::apply()
+void Pokemodr::MapWildListUI::apply()
{
- *static_cast<MapWildList*>(original()) = *static_cast<MapWildList*>(modified());
+ *static_cast<Pokemod::MapWildList*>(original()) = *static_cast<Pokemod::MapWildList*>(modified());
emit(changed(false));
}
-void MapWildListUI::discard()
+void Pokemodr::MapWildListUI::discard()
{
- *static_cast<MapWildList*>(modified()) = *static_cast<MapWildList*>(original());
+ *static_cast<Pokemod::MapWildList*>(modified()) = *static_cast<Pokemod::MapWildList*>(original());
setGui();
emit(changed(false));
}
-void MapWildListUI::on_varName_textChanged(const QString& name)
+void Pokemodr::MapWildListUI::on_varName_textChanged(const QString& name)
{
- static_cast<MapWildList*>(modified())->setName(name);
+ static_cast<Pokemod::MapWildList*>(modified())->setName(name);
}