summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/RootModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/tree/RootModel.cpp')
-rw-r--r--sigmodr/tree/RootModel.cpp10
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);