summaryrefslogtreecommitdiffstats
path: root/sigscript/ObjectWrapper.cpp
diff options
context:
space:
mode:
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);
}