summaryrefslogtreecommitdiffstats
path: root/sigscript/StoreWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/StoreWrapper.cpp')
-rw-r--r--sigscript/StoreWrapper.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/sigscript/StoreWrapper.cpp b/sigscript/StoreWrapper.cpp
index 111d0bd0..c747b4eb 100644
--- a/sigscript/StoreWrapper.cpp
+++ b/sigscript/StoreWrapper.cpp
@@ -18,32 +18,32 @@
// Header include
#include "StoreWrapper.h"
-// Pokescripting includes
-#include "PokemodWrapper.h"
+// Sigscript includes
+#include "SigmodWrapper.h"
-Pokescripting::StoreWrapper* Pokescripting::StoreWrapper::create(const Pokemod::Store* store, PokemodWrapper* parent)
+Sigscript::StoreWrapper* Sigscript::StoreWrapper::create(const Sigmod::Store* store, SigmodWrapper* parent)
{
if (!m_instances.contains(Signiture(parent, store->id())))
m_instances[Signiture(parent, store->id())] = new StoreWrapper(store, parent);
return qobject_cast<StoreWrapper*>(m_instances[Signiture(parent, store->id())]);
}
-Pokescripting::StoreWrapper::StoreWrapper(const Pokemod::Store* store, PokemodWrapper* parent) :
+Sigscript::StoreWrapper::StoreWrapper(const Sigmod::Store* store, SigmodWrapper* parent) :
ObjectWrapper(store, parent),
m_store(store)
{
}
-QString Pokescripting::StoreWrapper::name() const
+QString Sigscript::StoreWrapper::name() const
{
return m_store->name();
}
-QList<Pokescripting::ItemWrapper*> Pokescripting::StoreWrapper::items()
+QList<Sigscript::ItemWrapper*> Sigscript::StoreWrapper::items()
{
QList<int> itemIds = m_store->items();
QList<ItemWrapper*> items;
foreach (int id, itemIds)
- items.append(pokemod()->item(id));
+ items.append(sigmod()->item(id));
return items;
}