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/WeatherWrapper.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'sigscript/WeatherWrapper.cpp') diff --git a/sigscript/WeatherWrapper.cpp b/sigscript/WeatherWrapper.cpp index b995973d..13a51674 100644 --- a/sigscript/WeatherWrapper.cpp +++ b/sigscript/WeatherWrapper.cpp @@ -24,7 +24,11 @@ // Sigmod includes #include -Sigscript::WeatherWrapper* Sigscript::WeatherWrapper::create(const Sigmod::Weather* weather, GameWrapper* parent) +using namespace Sigcore; +using namespace Sigmod; +using namespace Sigscript; + +WeatherWrapper* WeatherWrapper::create(const Weather* weather, GameWrapper* parent) { Signature sig = Signature(parent, Subsignature(weather->className(), weather->id())); if (!m_instances.contains(sig)) @@ -32,18 +36,18 @@ Sigscript::WeatherWrapper* Sigscript::WeatherWrapper::create(const Sigmod::Weath return qobject_cast(m_instances[sig]); } -Sigscript::WeatherWrapper::WeatherWrapper(const Sigmod::Weather* weather, GameWrapper* parent) : +WeatherWrapper::WeatherWrapper(const Weather* weather, GameWrapper* parent) : ObjectWrapper(weather, parent), m_weather(weather) { } -QString Sigscript::WeatherWrapper::name() const +QString WeatherWrapper::name() const { return m_weather->name(); } -Sigcore::Script Sigscript::WeatherWrapper::script() const +Script WeatherWrapper::script() const { return m_weather->script(); } -- cgit