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 --- sigmod/Sound.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'sigmod/Sound.cpp') 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; -- cgit