summaryrefslogtreecommitdiffstats
path: root/sigmodr/WeatherUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
commit0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch)
treea2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigmodr/WeatherUI.cpp
parentb81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff)
downloadsigen-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/WeatherUI.cpp')
-rw-r--r--sigmodr/WeatherUI.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/sigmodr/WeatherUI.cpp b/sigmodr/WeatherUI.cpp
index e07e31e7..84132e10 100644
--- a/sigmodr/WeatherUI.cpp
+++ b/sigmodr/WeatherUI.cpp
@@ -18,47 +18,47 @@
// Header include
#include "WeatherUI.h"
-// Pokemod includes
-#include "../pokemod/Weather.h"
+// Sigmod includes
+#include "../sigmod/Weather.h"
-Pokemodr::WeatherUI::WeatherUI(Pokemod::Weather* weather, QWidget* parent) :
+Sigmodr::WeatherUI::WeatherUI(Sigmod::Weather* weather, QWidget* parent) :
ObjectUI(parent)
{
setupUi(this);
- setObjects(weather, new Pokemod::Weather(*weather));
+ setObjects(weather, new Sigmod::Weather(*weather));
}
-Pokemodr::WeatherUI::~WeatherUI()
+Sigmodr::WeatherUI::~WeatherUI()
{
}
-void Pokemodr::WeatherUI::setGui()
+void Sigmodr::WeatherUI::setGui()
{
- varName->setText(qobject_cast<Pokemod::Weather*>(modified())->name());
- varScript->setValue(qobject_cast<Pokemod::Weather*>(modified())->script());
+ varName->setText(qobject_cast<Sigmod::Weather*>(modified())->name());
+ varScript->setValue(qobject_cast<Sigmod::Weather*>(modified())->script());
}
-void Pokemodr::WeatherUI::apply()
+void Sigmodr::WeatherUI::apply()
{
- *qobject_cast<Pokemod::Weather*>(original()) = *qobject_cast<Pokemod::Weather*>(modified());
+ *qobject_cast<Sigmod::Weather*>(original()) = *qobject_cast<Sigmod::Weather*>(modified());
emit(changed(false));
}
-void Pokemodr::WeatherUI::discard()
+void Sigmodr::WeatherUI::discard()
{
- *qobject_cast<Pokemod::Weather*>(modified()) = *qobject_cast<Pokemod::Weather*>(original());
+ *qobject_cast<Sigmod::Weather*>(modified()) = *qobject_cast<Sigmod::Weather*>(original());
setGui();
emit(changed(false));
}
-void Pokemodr::WeatherUI::on_varName_textChanged(const QString& name)
+void Sigmodr::WeatherUI::on_varName_textChanged(const QString& name)
{
const int cursor = varName->cursorPosition();
- qobject_cast<Pokemod::Weather*>(modified())->setName(name);
+ qobject_cast<Sigmod::Weather*>(modified())->setName(name);
varName->setCursorPosition(cursor);
}
-void Pokemodr::WeatherUI::on_varScript_valueChanged(const Pokemod::Script& script)
+void Sigmodr::WeatherUI::on_varScript_valueChanged(const Sigmod::Script& script)
{
- qobject_cast<Pokemod::Weather*>(modified())->setScript(script);
+ qobject_cast<Sigmod::Weather*>(modified())->setScript(script);
}