summaryrefslogtreecommitdiffstats
path: root/sigscript/AuthorWrapper.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/AuthorWrapper.cpp
parenteb7d51f42aa1790be6b496a0e1882d6a9646e1c8 (diff)
downloadsigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.gz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.tar.xz
sigen-fd874f8a1e413b769245aa61a866bd536a551c3c.zip
Fixed up sigscript namespacing in sources
Diffstat (limited to 'sigscript/AuthorWrapper.cpp')
-rw-r--r--sigscript/AuthorWrapper.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/sigscript/AuthorWrapper.cpp b/sigscript/AuthorWrapper.cpp
index 8b23352d..ed0a7c36 100644
--- a/sigscript/AuthorWrapper.cpp
+++ b/sigscript/AuthorWrapper.cpp
@@ -24,7 +24,10 @@
// Sigmod includes
#include <sigmod/Author.h>
-Sigscript::AuthorWrapper* Sigscript::AuthorWrapper::create(const Sigmod::Author* author, GameWrapper* parent)
+using namespace Sigmod;
+using namespace Sigscript;
+
+AuthorWrapper* AuthorWrapper::create(const Author* author, GameWrapper* parent)
{
Signature sig = Signature(parent, Subsignature(author->className(), author->id()));
if (!m_instances.contains(sig))
@@ -32,23 +35,23 @@ Sigscript::AuthorWrapper* Sigscript::AuthorWrapper::create(const Sigmod::Author*
return qobject_cast<AuthorWrapper*>(m_instances[sig]);
}
-Sigscript::AuthorWrapper::AuthorWrapper(const Sigmod::Author* author, GameWrapper* parent) :
+AuthorWrapper::AuthorWrapper(const Author* author, GameWrapper* parent) :
ObjectWrapper(author, parent),
m_author(author)
{
}
-QString Sigscript::AuthorWrapper::name() const
+QString AuthorWrapper::name() const
{
return m_author->name();
}
-QString Sigscript::AuthorWrapper::email() const
+QString AuthorWrapper::email() const
{
return m_author->email();
}
-QString Sigscript::AuthorWrapper::role() const
+QString AuthorWrapper::role() const
{
return m_author->role();
}