diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-25 01:19:46 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-25 01:19:46 -0500 |
commit | 8dddfc1ef55773cdf878e413d82142781a6e444b (patch) | |
tree | 1fbd160be276c0cc89aa11971d2daab4ecc1791c /sigmodr/tree/RootModel.cpp | |
parent | 0d38afceb6fe92f1a315c527635522dc6e0346cb (diff) | |
download | sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.tar.gz sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.tar.xz sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.zip |
Renamed from Sigmod to Game in sigmodr tree
Diffstat (limited to 'sigmodr/tree/RootModel.cpp')
-rw-r--r-- | sigmodr/tree/RootModel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sigmodr/tree/RootModel.cpp b/sigmodr/tree/RootModel.cpp index b5671c9c..c5549267 100644 --- a/sigmodr/tree/RootModel.cpp +++ b/sigmodr/tree/RootModel.cpp @@ -22,7 +22,7 @@ #include "SigmodModel.h" // Sigmod includes -#include <sigmod/Sigmod.h> +#include <sigmod/Game.h> Sigmodr::Tree::RootModel::RootModel() : GroupModel(NULL, NULL) @@ -36,16 +36,16 @@ bool Sigmodr::Tree::RootModel::setData(const QVariant& value, int role) return false; } -void Sigmodr::Tree::RootModel::addSigmod(Sigmod::Sigmod* sigmod) +void Sigmodr::Tree::RootModel::addGame(Sigmod::Game* game) { - addChild(new SigmodModel(this, sigmod)); + addChild(new SigmodModel(this, game)); } -void Sigmodr::Tree::RootModel::deleteSigmod(const Sigmod::Sigmod* sigmod) +void Sigmodr::Tree::RootModel::deleteGame(const Sigmod::Game* game) { for (int i = 0; i < m_objects.size(); ++i) { - if (m_objects[i]->object() == sigmod) + if (m_objects[i]->object() == game) { delete m_objects[i]; m_objects.removeAt(i); |