summaryrefslogtreecommitdiffstats
path: root/sigscript/ObjectWrapper.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 /sigscript/ObjectWrapper.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 'sigscript/ObjectWrapper.cpp')
-rw-r--r--sigscript/ObjectWrapper.cpp26
1 files changed, 13 insertions, 13 deletions
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::Signiture, Pokescripting::ObjectWrapper*> Pokescripting::ObjectWrapper::m_instances;
+QMap<Sigscript::ObjectWrapper::Signiture, Sigscript::ObjectWrapper*> 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<const PokemodWrapper*>(m_parent);
+ return m_parent->sigmod();
+ return qobject_cast<const SigmodWrapper*>(m_parent);
}
-Pokescripting::PokemodWrapper* Pokescripting::ObjectWrapper::pokemod()
+Sigscript::SigmodWrapper* Sigscript::ObjectWrapper::sigmod()
{
if (m_parent)
- return m_parent->pokemod();
- return qobject_cast<PokemodWrapper*>(m_parent);
+ return m_parent->sigmod();
+ return qobject_cast<SigmodWrapper*>(m_parent);
}