summaryrefslogtreecommitdiffstats
path: root/sigmod/Sound.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 /sigmod/Sound.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 'sigmod/Sound.cpp')
-rw-r--r--sigmod/Sound.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/sigmod/Sound.cpp b/sigmod/Sound.cpp
index a625274f..ff1f0706 100644
--- a/sigmod/Sound.cpp
+++ b/sigmod/Sound.cpp
@@ -18,19 +18,19 @@
// Header include
#include "Sound.h"
-// Pokemod includes
+// Sigmod includes
#include "Macros.h"
-#include "Pokemod.h"
+#include "Sigmod.h"
-const QStringList Pokemod::Sound::TypeStr = QStringList() << "Sound Effect" << "Music";
+const QStringList Sigmod::Sound::TypeStr = QStringList() << "Sound Effect" << "Music";
-Pokemod::Sound::Sound(const Sound& sound) :
+Sigmod::Sound::Sound(const Sound& sound) :
Object(sound.parent(), sound.id())
{
*this = sound;
}
-Pokemod::Sound::Sound(const Pokemod* parent, const int id) :
+Sigmod::Sound::Sound(const Sigmod* parent, const int id) :
Object(parent, id),
m_name(""),
m_type(SoundEffect),
@@ -38,20 +38,20 @@ Pokemod::Sound::Sound(const Pokemod* parent, const int id) :
{
}
-Pokemod::Sound::Sound(const Sound& sound, const Pokemod* parent, const int id) :
+Sigmod::Sound::Sound(const Sound& sound, const Sigmod* parent, const int id) :
Object(parent, id)
{
*this = sound;
}
-Pokemod::Sound::Sound(const QDomElement& xml, const Pokemod* parent, const int id) :
+Sigmod::Sound::Sound(const QDomElement& xml, const Sigmod* parent, const int id) :
Object(parent, id)
{
LOAD_ID();
load(xml);
}
-void Pokemod::Sound::validate()
+void Sigmod::Sound::validate()
{
TEST_BEGIN();
if (m_name.isEmpty())
@@ -61,7 +61,7 @@ void Pokemod::Sound::validate()
TEST_END();
}
-void Pokemod::Sound::load(const QDomElement& xml)
+void Sigmod::Sound::load(const QDomElement& xml)
{
LOAD_BEGIN();
LOAD(name);
@@ -69,7 +69,7 @@ void Pokemod::Sound::load(const QDomElement& xml)
LOAD(data);
}
-QDomElement Pokemod::Sound::save() const
+QDomElement Sigmod::Sound::save() const
{
SAVE_CREATE();
SAVE(name);
@@ -78,37 +78,37 @@ QDomElement Pokemod::Sound::save() const
return xml;
}
-void Pokemod::Sound::setName(const QString& name)
+void Sigmod::Sound::setName(const QString& name)
{
CHECK(name);
}
-void Pokemod::Sound::setType(const Type type)
+void Sigmod::Sound::setType(const Type type)
{
CHECK(type);
}
-void Pokemod::Sound::setData(const QByteArray& data)
+void Sigmod::Sound::setData(const QByteArray& data)
{
CHECK(data);
}
-QString Pokemod::Sound::name() const
+QString Sigmod::Sound::name() const
{
return m_name;
}
-Pokemod::Sound::Type Pokemod::Sound::type() const
+Sigmod::Sound::Type Sigmod::Sound::type() const
{
return m_type;
}
-QByteArray Pokemod::Sound::data() const
+QByteArray Sigmod::Sound::data() const
{
return m_data;
}
-Pokemod::Sound& Pokemod::Sound::operator=(const Sound& rhs)
+Sigmod::Sound& Sigmod::Sound::operator=(const Sound& rhs)
{
if (this == &rhs)
return *this;