summaryrefslogtreecommitdiffstats
path: root/sigmod/Object.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-09-06 04:12:30 +0000
commit0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9 (patch)
treea2031b9d0016fcbd49a51c0d1a2292d1f2d8b566 /sigmod/Object.cpp
parentb81f5bffa2772eb9bd3c67fb35485ab1ee2d96e7 (diff)
downloadsigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.gz
sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.tar.xz
sigen-0b4b89cf8efdc15e5a8d4b6cb24a5c8a025227d9.zip
[FIX] Renamed everything (in use) away from Poké- prefixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@250 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmod/Object.cpp')
-rw-r--r--sigmod/Object.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/sigmod/Object.cpp b/sigmod/Object.cpp
index ce2425d8..803dadc5 100644
--- a/sigmod/Object.cpp
+++ b/sigmod/Object.cpp
@@ -18,77 +18,77 @@
// Header include
#include "Object.h"
-// Pokemod includes
+// Sigmod includes
#include "Macros.h"
-Pokemod::Object::Object(const Object& object) :
+Sigmod::Object::Object(const Object& object) :
QObject(NULL),
m_id(object.id()),
m_parent(object.parent())
{
}
-Pokemod::Object::Object(const Object* parent, const int id) :
+Sigmod::Object::Object(const Object* parent, const int id) :
QObject(NULL),
m_id(id),
m_parent(parent)
{
}
-const Pokemod::Object* Pokemod::Object::parent() const
+const Sigmod::Object* Sigmod::Object::parent() const
{
return m_parent;
}
-const Pokemod::Object* Pokemod::Object::pokemod() const
+const Sigmod::Object* Sigmod::Object::sigmod() const
{
if (m_parent)
- return m_parent->pokemod();
+ return m_parent->sigmod();
return this;
}
-int Pokemod::Object::id() const
+int Sigmod::Object::id() const
{
return m_id;
}
-void Pokemod::Object::setId(const int id)
+void Sigmod::Object::setId(const int id)
{
CHECK(id);
}
-QString Pokemod::Object::className() const
+QString Sigmod::Object::className() const
{
return QString(metaObject()->className()).section(':', -1);
}
-QDomDocument Pokemod::Object::xml(const Object* object)
+QDomDocument Sigmod::Object::xml(const Object* object)
{
QDomDocument xml(object->className());
xml.appendChild(object->save());
return xml;
}
-QString Pokemod::Object::unused(const QString& variable)
+QString Sigmod::Object::unused(const QString& variable)
{
return QString("Setting unused variable %1").arg(variable);
}
-QString Pokemod::Object::bounds(const QString& variable)
+QString Sigmod::Object::bounds(const QString& variable)
{
return QString("Value for %1 out-of-bounds").arg(variable);
}
-QString Pokemod::Object::subclass(const QString& subclass, const int id)
+QString Sigmod::Object::subclass(const QString& subclass, const int id)
{
return QString("Duplicate %1 with id %2").arg(subclass, id);
}
-QString Pokemod::Object::subclass(const QString& subclass, const QString& name)
+QString Sigmod::Object::subclass(const QString& subclass, const QString& name)
{
return QString("Duplicate %1 with name %2").arg(subclass, name);
}
-void Pokemod::Object::clear()
+void Sigmod::Object::clear()
{
}