From fd874f8a1e413b769245aa61a866bd536a551c3c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 24 Feb 2009 16:33:13 -0500 Subject: Fixed up sigscript namespacing in sources --- sigscript/CoinListWrapper.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'sigscript/CoinListWrapper.cpp') diff --git a/sigscript/CoinListWrapper.cpp b/sigscript/CoinListWrapper.cpp index f2ee2cc2..4125da6f 100644 --- a/sigscript/CoinListWrapper.cpp +++ b/sigscript/CoinListWrapper.cpp @@ -25,7 +25,11 @@ // Sigmod includes #include -Sigscript::CoinListWrapper* Sigscript::CoinListWrapper::create(const Sigmod::CoinList* coinList, GameWrapper* parent) +using namespace Sigcore; +using namespace Sigmod; +using namespace Sigscript; + +CoinListWrapper* CoinListWrapper::create(const CoinList* coinList, GameWrapper* parent) { Signature sig = Signature(parent, Subsignature(coinList->className(), coinList->id())); if (!m_instances.contains(sig)) @@ -33,28 +37,28 @@ Sigscript::CoinListWrapper* Sigscript::CoinListWrapper::create(const Sigmod::Coi return qobject_cast(m_instances[sig]); } -Sigscript::CoinListWrapper::CoinListWrapper(const Sigmod::CoinList* coinList, GameWrapper* parent) : +CoinListWrapper::CoinListWrapper(const CoinList* coinList, GameWrapper* parent) : ObjectWrapper(coinList, parent), m_coinList(coinList) { } -QString Sigscript::CoinListWrapper::name() const +QString CoinListWrapper::name() const { return m_coinList->name(); } -Sigcore::Script Sigscript::CoinListWrapper::script() const +Script CoinListWrapper::script() const { return m_coinList->script(); } -Sigscript::CoinListItemWrapper* Sigscript::CoinListWrapper::item(const int index) +CoinListItemWrapper* CoinListWrapper::item(const int index) { return CoinListItemWrapper::create(m_coinList->item(index), this); } -int Sigscript::CoinListWrapper::itemCount() const +int CoinListWrapper::itemCount() const { return m_coinList->itemCount(); } -- cgit