summaryrefslogtreecommitdiffstats
path: root/sigscript/WeatherWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-24 16:33:13 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-24 16:33:13 -0500
commitfd874f8a1e413b769245aa61a866bd536a551c3c (patch)
treeaf66c155cc313e9ca777ba8a332c1133a52b3d9c /sigscript/WeatherWrapper.cpp
parenteb7d51f42aa1790be6b496a0e1882d6a9646e1c8 (diff)
downloadsigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.gz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.xz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.zip
Fixed up sigscript namespacing in sources
Diffstat (limited to 'sigscript/WeatherWrapper.cpp')
-rw-r--r--sigscript/WeatherWrapper.cpp12
1 files changed, 8 insertions, 4 deletions
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 <sigmod/Weather.h>
-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<WeatherWrapper*>(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();
}