diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-09-06 04:12:30 +0000 |
| commit | 0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch) | |
| tree | a2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigmodr/CoinListUI.cpp | |
| parent | b81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff) | |
| download | sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.gz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.xz sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.zip | |
[FIX] Renamed everything (in use) away from Poké- prefixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmodr/CoinListUI.cpp')
| -rw-r--r-- | sigmodr/CoinListUI.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sigmodr/CoinListUI.cpp b/sigmodr/CoinListUI.cpp index 0cd7c6b3..61fb31df 100644 --- a/sigmodr/CoinListUI.cpp +++ b/sigmodr/CoinListUI.cpp @@ -18,48 +18,48 @@ // Header include #include "CoinListUI.h" -// Pokemod includes -#include "../pokemod/CoinList.h" -#include "../pokemod/Pokemod.h" +// Sigmod includes +#include "../sigmod/CoinList.h" +#include "../sigmod/Sigmod.h" -Pokemodr::CoinListUI::CoinListUI(Pokemod::CoinList* coinList, QWidget* parent) : +Sigmodr::CoinListUI::CoinListUI(Sigmod::CoinList* coinList, QWidget* parent) : ObjectUI(parent) { setupUi(this); - setObjects(coinList, new Pokemod::CoinList(*coinList)); + setObjects(coinList, new Sigmod::CoinList(*coinList)); } -Pokemodr::CoinListUI::~CoinListUI() +Sigmodr::CoinListUI::~CoinListUI() { } -void Pokemodr::CoinListUI::setGui() +void Sigmodr::CoinListUI::setGui() { - varName->setText(qobject_cast<Pokemod::CoinList*>(modified())->name()); - varScript->setValue(qobject_cast<Pokemod::CoinList*>(modified())->script()); + varName->setText(qobject_cast<Sigmod::CoinList*>(modified())->name()); + varScript->setValue(qobject_cast<Sigmod::CoinList*>(modified())->script()); } -void Pokemodr::CoinListUI::apply() +void Sigmodr::CoinListUI::apply() { - *qobject_cast<Pokemod::CoinList*>(original()) = *qobject_cast<Pokemod::CoinList*>(modified()); + *qobject_cast<Sigmod::CoinList*>(original()) = *qobject_cast<Sigmod::CoinList*>(modified()); emit(changed(false)); } -void Pokemodr::CoinListUI::discard() +void Sigmodr::CoinListUI::discard() { - *qobject_cast<Pokemod::CoinList*>(modified()) = *qobject_cast<Pokemod::CoinList*>(original()); + *qobject_cast<Sigmod::CoinList*>(modified()) = *qobject_cast<Sigmod::CoinList*>(original()); setGui(); emit(changed(false)); } -void Pokemodr::CoinListUI::on_varName_textChanged(const QString& name) +void Sigmodr::CoinListUI::on_varName_textChanged(const QString& name) { const int cursor = varName->cursorPosition(); - qobject_cast<Pokemod::CoinList*>(modified())->setName(name); + qobject_cast<Sigmod::CoinList*>(modified())->setName(name); varName->setCursorPosition(cursor); } -void Pokemodr::CoinListUI::on_varScript_valueChanged(const Pokemod::Script& script) +void Sigmodr::CoinListUI::on_varScript_valueChanged(const Sigmod::Script& script) { - qobject_cast<Pokemod::CoinList*>(modified())->setScript(script); + qobject_cast<Sigmod::CoinList*>(modified())->setScript(script); } |
