diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
| commit | 60a2ed8ee8aa994c83d382af2ec477e171beb950 (patch) | |
| tree | 6fea6867adee00f22b9d775a6dce15ed875d75e6 /pokemod/Object.cpp | |
| parent | 0737b455ca94351c574aa1a8c83ea30c5b7bc443 (diff) | |
| download | sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.gz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.xz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.zip | |
[FIX] All modules now use their own namespace
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/Object.cpp')
| -rw-r--r-- | pokemod/Object.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/pokemod/Object.cpp b/pokemod/Object.cpp index 1b4ba668..ffd1d8f7 100644 --- a/pokemod/Object.cpp +++ b/pokemod/Object.cpp @@ -18,7 +18,7 @@ // Header include #include "Object.h" -Object::Object(const Object& object) : +Pokemod::Object::Object(const Object& object) : QObject(0), m_id(object.id()), m_className(object.className()), @@ -26,7 +26,7 @@ Object::Object(const Object& object) : { } -Object::Object(const QString& className, const Object* parent, const int id) : +Pokemod::Object::Object(const QString& className, const Object* parent, const int id) : QObject(0), m_id(id), m_className(className), @@ -34,58 +34,58 @@ Object::Object(const QString& className, const Object* parent, const int id) : { } -const Object* Object::parent() const +const Pokemod::Object* Pokemod::Object::parent() const { return m_parent; } -const Object* Object::pokemod() const +const Pokemod::Object* Pokemod::Object::pokemod() const { if (m_parent) return m_parent->pokemod(); return this; } -int Object::id() const +int Pokemod::Object::id() const { return m_id; } -QString Object::className() const +QString Pokemod::Object::className() const { return m_className; } -void Object::setId(const int id) +void Pokemod::Object::setId(const int id) { CHECK(id); } -QString Object::unused(const QString& variable) +QString Pokemod::Object::unused(const QString& variable) { return QString("Setting unused variable %1").arg(variable); } -QString Object::bounds(const QString& variable) +QString Pokemod::Object::bounds(const QString& variable) { return QString("Value for %1 out-of-bounds").arg(variable); } -QString Object::size(const QString& variable) +QString Pokemod::Object::size(const QString& variable) { return QString("Wrong size for %1").arg(variable); } -QString Object::subclass(const QString& subclass, const int id) +QString Pokemod::Object::subclass(const QString& subclass, const int id) { return QString("Duplicate %1 with id %2").arg(subclass, id); } -QString Object::subclass(const QString& subclass, const QString& name) +QString Pokemod::Object::subclass(const QString& subclass, const QString& name) { return QString("Duplicate %1 with name %2").arg(subclass, name); } -void Object::clear() +void Pokemod::Object::clear() { } |
