summaryrefslogtreecommitdiffstats
path: root/sigmodr/CoinListUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/CoinListUI.cpp')
-rw-r--r--sigmodr/CoinListUI.cpp34
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);
}