summaryrefslogtreecommitdiffstats
path: root/pokemodr/CoinListUI.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/CoinListUI.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/CoinListUI.cpp')
-rw-r--r--pokemodr/CoinListUI.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/pokemodr/CoinListUI.cpp b/pokemodr/CoinListUI.cpp
index 72450e5a..52039433 100644
--- a/pokemodr/CoinListUI.cpp
+++ b/pokemodr/CoinListUI.cpp
@@ -22,44 +22,44 @@
#include "../pokemod/CoinList.h"
#include "../pokemod/Pokemod.h"
-CoinListUI::CoinListUI(CoinList* coinList, QWidget* parent) :
+Pokemodr::CoinListUI::CoinListUI(Pokemod::CoinList* coinList, QWidget* parent) :
ObjectUI(parent)
{
setupUi(this);
- setObjects(coinList, new CoinList(*coinList));
+ setObjects(coinList, new Pokemod::CoinList(*coinList));
}
-CoinListUI::~CoinListUI()
+Pokemodr::CoinListUI::~CoinListUI()
{
}
-void CoinListUI::setGui()
+void Pokemodr::CoinListUI::setGui()
{
- varName->setText(static_cast<CoinList*>(modified())->name());
- varScript->setValue(static_cast<CoinList*>(modified())->script());
+ varName->setText(static_cast<Pokemod::CoinList*>(modified())->name());
+ varScript->setValue(static_cast<Pokemod::CoinList*>(modified())->script());
}
-void CoinListUI::apply()
+void Pokemodr::CoinListUI::apply()
{
- *static_cast<CoinList*>(original()) = *static_cast<CoinList*>(modified());
+ *static_cast<Pokemod::CoinList*>(original()) = *static_cast<Pokemod::CoinList*>(modified());
emit(changed(false));
}
-void CoinListUI::discard()
+void Pokemodr::CoinListUI::discard()
{
- *static_cast<CoinList*>(modified()) = *static_cast<CoinList*>(original());
+ *static_cast<Pokemod::CoinList*>(modified()) = *static_cast<Pokemod::CoinList*>(original());
setGui();
emit(changed(false));
}
-void CoinListUI::on_varName_textChanged(const QString& name)
+void Pokemodr::CoinListUI::on_varName_textChanged(const QString& name)
{
const int cursor = varName->cursorPosition();
- static_cast<CoinList*>(modified())->setName(name);
+ static_cast<Pokemod::CoinList*>(modified())->setName(name);
varName->setCursorPosition(cursor);
}
-void CoinListUI::on_varScript_valueChanged(const Script& script)
+void Pokemodr::CoinListUI::on_varScript_valueChanged(const Pokemod::Script& script)
{
- static_cast<CoinList*>(modified())->setScript(script);
+ static_cast<Pokemod::CoinList*>(modified())->setScript(script);
}