From 0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 6 Sep 2008 04:12:30 +0000 Subject: [FIX] Renamed everything (in use) away from Poké- prefixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- sigmodr/CoinListUI.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'sigmodr/CoinListUI.cpp') 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(modified())->name()); - varScript->setValue(qobject_cast(modified())->script()); + varName->setText(qobject_cast(modified())->name()); + varScript->setValue(qobject_cast(modified())->script()); } -void Pokemodr::CoinListUI::apply() +void Sigmodr::CoinListUI::apply() { - *qobject_cast(original()) = *qobject_cast(modified()); + *qobject_cast(original()) = *qobject_cast(modified()); emit(changed(false)); } -void Pokemodr::CoinListUI::discard() +void Sigmodr::CoinListUI::discard() { - *qobject_cast(modified()) = *qobject_cast(original()); + *qobject_cast(modified()) = *qobject_cast(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(modified())->setName(name); + qobject_cast(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(modified())->setScript(script); + qobject_cast(modified())->setScript(script); } -- cgit