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/AuthorWrapper.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'sigscript/AuthorWrapper.cpp') 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 -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(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(); } -- cgit