summaryrefslogtreecommitdiffstats
path: root/sigscript/EggGroupWrapper.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/EggGroupWrapper.cpp
parenteb7d51f42aa1790be6b496a0e1882d6a9646e1c8 (diff)
downloadsigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.gz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.xz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.zip
Fixed up sigscript namespacing in sources
Diffstat (limited to 'sigscript/EggGroupWrapper.cpp')
-rw-r--r--sigscript/EggGroupWrapper.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/sigscript/EggGroupWrapper.cpp b/sigscript/EggGroupWrapper.cpp
index 3c70c91c..6dacb5fa 100644
--- a/sigscript/EggGroupWrapper.cpp
+++ b/sigscript/EggGroupWrapper.cpp
@@ -24,7 +24,10 @@
// Sigmod includes
#include <sigmod/EggGroup.h>
-Sigscript::EggGroupWrapper* Sigscript::EggGroupWrapper::create(const Sigmod::EggGroup* eggGroup, GameWrapper* parent)
+using namespace Sigmod;
+using namespace Sigscript;
+
+EggGroupWrapper* EggGroupWrapper::create(const EggGroup* eggGroup, GameWrapper* parent)
{
Signature sig = Signature(parent, Subsignature(eggGroup->className(), eggGroup->id()));
if (!m_instances.contains(sig))
@@ -32,13 +35,13 @@ Sigscript::EggGroupWrapper* Sigscript::EggGroupWrapper::create(const Sigmod::Egg
return qobject_cast<EggGroupWrapper*>(m_instances[sig]);
}
-Sigscript::EggGroupWrapper::EggGroupWrapper(const Sigmod::EggGroup* eggGroup, GameWrapper* parent) :
+EggGroupWrapper::EggGroupWrapper(const EggGroup* eggGroup, GameWrapper* parent) :
ObjectWrapper(eggGroup, parent),
m_eggGroup(eggGroup)
{
}
-QString Sigscript::EggGroupWrapper::name() const
+QString EggGroupWrapper::name() const
{
return m_eggGroup->name();
}