diff options
Diffstat (limited to 'sigscript/CoinListWrapper.cpp')
| -rw-r--r-- | sigscript/CoinListWrapper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sigscript/CoinListWrapper.cpp b/sigscript/CoinListWrapper.cpp index 38807810..a15c25a3 100644 --- a/sigscript/CoinListWrapper.cpp +++ b/sigscript/CoinListWrapper.cpp @@ -18,39 +18,39 @@ // Header include #include "CoinListWrapper.h" -// Pokescripting includes +// Sigscript includes #include "CoinListObjectWrapper.h" -#include "PokemodWrapper.h" +#include "SigmodWrapper.h" -Pokescripting::CoinListWrapper* Pokescripting::CoinListWrapper::create(const Pokemod::CoinList* coinList, PokemodWrapper* parent) +Sigscript::CoinListWrapper* Sigscript::CoinListWrapper::create(const Sigmod::CoinList* coinList, SigmodWrapper* parent) { if (!m_instances.contains(Signiture(parent, coinList->id()))) m_instances[Signiture(parent, coinList->id())] = new CoinListWrapper(coinList, parent); return qobject_cast<CoinListWrapper*>(m_instances[Signiture(parent, coinList->id())]); } -Pokescripting::CoinListWrapper::CoinListWrapper(const Pokemod::CoinList* coinList, PokemodWrapper* parent) : +Sigscript::CoinListWrapper::CoinListWrapper(const Sigmod::CoinList* coinList, SigmodWrapper* parent) : ObjectWrapper(coinList, parent), m_coinList(coinList) { } -QString Pokescripting::CoinListWrapper::name() const +QString Sigscript::CoinListWrapper::name() const { return m_coinList->name(); } -Pokemod::Script Pokescripting::CoinListWrapper::script() const +Sigmod::Script Sigscript::CoinListWrapper::script() const { return m_coinList->script(); } -Pokescripting::CoinListObjectWrapper* Pokescripting::CoinListWrapper::object(const int index) +Sigscript::CoinListObjectWrapper* Sigscript::CoinListWrapper::object(const int index) { return CoinListObjectWrapper::create(m_coinList->object(index), this); } -int Pokescripting::CoinListWrapper::objectCount() const +int Sigscript::CoinListWrapper::objectCount() const { return m_coinList->objectCount(); } |
