summaryrefslogtreecommitdiffstats
path: root/sigmod/Weather.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/Weather.cpp')
-rw-r--r--sigmod/Weather.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/sigmod/Weather.cpp b/sigmod/Weather.cpp
index 05d70d1c..5f8ac537 100644
--- a/sigmod/Weather.cpp
+++ b/sigmod/Weather.cpp
@@ -18,42 +18,42 @@
// Header include
#include "Weather.h"
-// Pokemod includes
+// Sigmod includes
#include "Macros.h"
-#include "Pokemod.h"
+#include "Sigmod.h"
#include "Script.h"
-Pokemod::Weather::Weather(const Weather& weather) :
+Sigmod::Weather::Weather(const Weather& weather) :
Object(weather.parent(), weather.id())
{
*this = weather;
}
-Pokemod::Weather::Weather(const Pokemod* parent, const int id) :
+Sigmod::Weather::Weather(const Sigmod* parent, const int id) :
Object(parent, id),
m_name(""),
m_script("", "")
{
}
-Pokemod::Weather::Weather(const Weather& weather, const Pokemod* parent, const int id) :
+Sigmod::Weather::Weather(const Weather& weather, const Sigmod* parent, const int id) :
Object(parent, id)
{
*this = weather;
}
-Pokemod::Weather::Weather(const QDomElement& xml, const Pokemod* parent, const int id) :
+Sigmod::Weather::Weather(const QDomElement& xml, const Sigmod* parent, const int id) :
Object(parent, id)
{
LOAD_ID();
load(xml);
}
-Pokemod::Weather::~Weather()
+Sigmod::Weather::~Weather()
{
}
-void Pokemod::Weather::validate()
+void Sigmod::Weather::validate()
{
TEST_BEGIN();
if (m_name.isEmpty())
@@ -61,14 +61,14 @@ void Pokemod::Weather::validate()
TEST_END();
}
-void Pokemod::Weather::load(const QDomElement& xml)
+void Sigmod::Weather::load(const QDomElement& xml)
{
LOAD_BEGIN();
LOAD(name);
LOAD(script);
}
-QDomElement Pokemod::Weather::save() const
+QDomElement Sigmod::Weather::save() const
{
SAVE_CREATE();
SAVE(name);
@@ -76,27 +76,27 @@ QDomElement Pokemod::Weather::save() const
return xml;
}
-void Pokemod::Weather::setName(const QString& name)
+void Sigmod::Weather::setName(const QString& name)
{
CHECK(name);
}
-void Pokemod::Weather::setScript(const Script& script)
+void Sigmod::Weather::setScript(const Script& script)
{
CHECK(script);
}
-QString Pokemod::Weather::name() const
+QString Sigmod::Weather::name() const
{
return m_name;
}
-Pokemod::Script Pokemod::Weather::script() const
+Sigmod::Script Sigmod::Weather::script() const
{
return m_script;
}
-Pokemod::Weather& Pokemod::Weather::operator=(const Weather& rhs)
+Sigmod::Weather& Sigmod::Weather::operator=(const Weather& rhs)
{
if (this == &rhs)
return *this;