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 --- sigscript/ObjectWrapper.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'sigscript/ObjectWrapper.cpp') diff --git a/sigscript/ObjectWrapper.cpp b/sigscript/ObjectWrapper.cpp index d1af3220..8917c375 100644 --- a/sigscript/ObjectWrapper.cpp +++ b/sigscript/ObjectWrapper.cpp @@ -18,42 +18,42 @@ // Header include #include "ObjectWrapper.h" -// Pokescripting includes -#include "PokemodWrapper.h" +// Sigscript includes +#include "SigmodWrapper.h" -QMap Pokescripting::ObjectWrapper::m_instances; +QMap Sigscript::ObjectWrapper::m_instances; -Pokescripting::ObjectWrapper::ObjectWrapper(const Pokemod::Object* object, ObjectWrapper* parent) : +Sigscript::ObjectWrapper::ObjectWrapper(const Sigmod::Object* object, ObjectWrapper* parent) : Config(parent), m_object(object) { } -int Pokescripting::ObjectWrapper::id() const +int Sigscript::ObjectWrapper::id() const { return m_object->id(); } -const Pokescripting::ObjectWrapper* Pokescripting::ObjectWrapper::parent() const +const Sigscript::ObjectWrapper* Sigscript::ObjectWrapper::parent() const { return m_parent; } -Pokescripting::ObjectWrapper* Pokescripting::ObjectWrapper::parent() +Sigscript::ObjectWrapper* Sigscript::ObjectWrapper::parent() { return m_parent; } -const Pokescripting::PokemodWrapper* Pokescripting::ObjectWrapper::pokemod() const +const Sigscript::SigmodWrapper* Sigscript::ObjectWrapper::sigmod() const { if (m_parent) - return m_parent->pokemod(); - return qobject_cast(m_parent); + return m_parent->sigmod(); + return qobject_cast(m_parent); } -Pokescripting::PokemodWrapper* Pokescripting::ObjectWrapper::pokemod() +Sigscript::SigmodWrapper* Sigscript::ObjectWrapper::sigmod() { if (m_parent) - return m_parent->pokemod(); - return qobject_cast(m_parent); + return m_parent->sigmod(); + return qobject_cast(m_parent); } -- cgit